Commit c9423914 authored by Sukanka's avatar Sukanka

update to 2.1.1

parent 6eeaed64
pkgbase = wechat-uos pkgbase = wechat-uos
pkgdesc = UOS专业版微信 (迫真魔改版) pkgdesc = wechat
pkgver = 2.0.0+lsblk pkgver = 2.1.1
pkgrel = 1145141919 pkgrel = 1
epoch = 2 epoch = 2
url = https://www.chinauos.com/resource/download-professional url = https://weixin.qq.com/
arch = x86_64 arch = x86_64
license = MIT license = ISC
makedepends = imagemagick depends = electron
depends = gtk2
depends = gtk3
depends = libxss
depends = gconf
depends = nss
depends = lsb-release
depends = bubblewrap depends = bubblewrap
source = https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.qq.weixin/com.qq.weixin_2.0.0-2_amd64.deb options = !strip
source = uos-lsb source = wechat-2.1.1.deb::http://archive.ubuntukylin.com/ubuntukylin/pool/partner/weixin_2.1.1_amd64.deb
source = uos-lsblk source = wechat.sh
source = uos-release sha512sums = 8edd4439f1823291fa827b0a48769f618271b66cdd39d6aa5fe41c84e84d04c305b880104aff110ae173178b202294d44321337e89a3d1d6d5086c548f291eca
source = wechat-uos sha512sums = f2f2f789d1d02c0fd5acbd9a77c1a52c02c2fc8a1a5690d18c673357b80ca684532e3d752594b39ff945b45a9fc9a6733e67395a12e825398f010ec50e05387f
source = wechat-uos.desktop
b2sums = 2162919d00fcf133eb17ce4098c6c4a067424727adf06b1558eaeec79a68b3ab638860a30b1363b0102a5457d761c56552ce9710f66604f1a0418bec7513628d
b2sums = 3cd62350b8b12d857e7a6b7d14ddc0fde9617f1e927371962f95ce633f7686c12ff3d8bc0e4048c85ef5a7414885ed03aecd8f7fbb6ca6f5e6d52d68273d4c43
b2sums = 063c8860dfa4304d80bd1a9c4e439064af0f8b2e35af282ba91a56c7c74cf0c54b62982e13a08c85cd643872d4bbdc18cb19035cabff55dae58e9c466c2c1d45
b2sums = 49de7f51a7d43acbdb5d6e54aa77e56476d79ff3bb950a99bfe6023c4eb067737fcfcdf51ea7d2428e7923659267bce8477bde71df00c4def1f8e16999d84a49
b2sums = d09df77e0bbf43a2820e0e8d91363e02a814764d5930627b6d329e0028e9fcf472e12d288590f6c1d388fe25f790a062aa152dd2d41199b40df4c461ed1858cb
b2sums = 13f84de388ff2c20f9e7c42b773e8dbd63da473851690ce37cb80966e2fac0843933d0d561c7c5f8918e456f56db9a66b82cbd5952b056a954b519ef76826ed2
pkgname = wechat-uos pkgname = wechat-uos
# Maintainer: DuckSoft <realducksoft at gmail dot com> # Maintainer: sukanka <su975853527 at gmail dot com>
# Contributor: sihuan <sihuan at sakuya.love>
# Contributor: sukanka <unknown at unknown>
# Contributor: Nick Cao <nickcao at nichi dot co>
pkgname=wechat-uos pkgname=wechat-uos
pkgver=2.0.0+lsblk _pkgname=wechat
_pkgver=2.0.0 pkgver=2.1.1
pkgrel=1
epoch=2 epoch=2
pkgrel=1145141919 pkgdesc="wechat"
pkgdesc="UOS专业版微信 (迫真魔改版)" arch=('x86_64')
arch=(x86_64) url="https://weixin.qq.com/"
url=https://www.chinauos.com/resource/download-professional license=('ISC')
depends=(gtk2 gtk3 libxss gconf nss lsb-release bubblewrap) depends=(electron bubblewrap )
makedepends=(imagemagick) source=("${_pkgname}-${pkgver}.deb::http://archive.ubuntukylin.com/ubuntukylin/pool/partner/weixin_${pkgver}_amd64.deb"
license=(MIT) "wechat.sh"
source=(
"https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.qq.weixin/com.qq.weixin_${_pkgver}-${epoch}_amd64.deb"
'uos-lsb' 'uos-lsblk' 'uos-release' 'wechat-uos' 'wechat-uos.desktop'
) )
b2sums=('2162919d00fcf133eb17ce4098c6c4a067424727adf06b1558eaeec79a68b3ab638860a30b1363b0102a5457d761c56552ce9710f66604f1a0418bec7513628d' sha512sums=('8edd4439f1823291fa827b0a48769f618271b66cdd39d6aa5fe41c84e84d04c305b880104aff110ae173178b202294d44321337e89a3d1d6d5086c548f291eca'
'3cd62350b8b12d857e7a6b7d14ddc0fde9617f1e927371962f95ce633f7686c12ff3d8bc0e4048c85ef5a7414885ed03aecd8f7fbb6ca6f5e6d52d68273d4c43' 'f2f2f789d1d02c0fd5acbd9a77c1a52c02c2fc8a1a5690d18c673357b80ca684532e3d752594b39ff945b45a9fc9a6733e67395a12e825398f010ec50e05387f')
'063c8860dfa4304d80bd1a9c4e439064af0f8b2e35af282ba91a56c7c74cf0c54b62982e13a08c85cd643872d4bbdc18cb19035cabff55dae58e9c466c2c1d45' options=(!strip)
'49de7f51a7d43acbdb5d6e54aa77e56476d79ff3bb950a99bfe6023c4eb067737fcfcdf51ea7d2428e7923659267bce8477bde71df00c4def1f8e16999d84a49'
'd09df77e0bbf43a2820e0e8d91363e02a814764d5930627b6d329e0028e9fcf472e12d288590f6c1d388fe25f790a062aa152dd2d41199b40df4c461ed1858cb'
'13f84de388ff2c20f9e7c42b773e8dbd63da473851690ce37cb80966e2fac0843933d0d561c7c5f8918e456f56db9a66b82cbd5952b056a954b519ef76826ed2')
prepare() { prepare() {
msg2 "Decompressing Debian Package..." cd ${srcdir}
bsdtar -xf data.tar.xz tar -Jxvf data.tar.xz -C "${srcdir}"
msg2 "Patching Incorrect Size Icons..."
for s in 128 64 48 16; do
local newsize="${s}x${s}"
echo "Downsampling from 256x256 to $newsize..."
convert -geometry $newsize \
$srcdir/opt/apps/com.qq.weixin/entries/icons/hicolor/256x256/apps/wechat.png \
$srcdir/opt/apps/com.qq.weixin/entries/icons/hicolor/$newsize/apps/wechat.png
done
} }
package() { package(){
msg2 "Copying Application Binaries..." cd $srcdir
mkdir -p $pkgdir/opt/wechat-uos mv etc usr ${pkgdir}
cp -at $pkgdir/opt/wechat-uos $srcdir/opt/apps/com.qq.weixin/files/* mv opt/weixin/resources/app ${pkgdir}/usr/lib/wechat
install -Dm644 $srcdir/usr/lib/license/libuosdevicea.so -t $pkgdir/usr/lib/license/ install -Dm755 wechat.sh ${pkgdir}/usr/bin/wechat
msg2 "Copying Patched Icons..."
mkdir -p $pkgdir/usr/share/icons
cp -at $pkgdir/usr/share/icons $srcdir/opt/apps/com.qq.weixin/entries/icons/hicolor
msg2 "Linking Binaries..." cd ${pkgdir}/usr/share/applications/
install -Dm755 wechat-uos -t $pkgdir/usr/bin/ sed -i "4c Exec=wechat %U" weixin.desktop
echo "Keywords=wechat;weixin;" >> weixin.desktop
msg2 "Creating Desktops and Hacks..."
install -Dm644 uos-lsb uos-release -t $pkgdir/opt/wechat-uos/crap/
install -Dm755 uos-lsblk -t $pkgdir/opt/wechat-uos/crap/
install -Dm644 wechat-uos.desktop -t $pkgdir/usr/share/applications/
} }
# vim: ts=2 sw=2 et:
DISTRIB_ID=uos
DISTRIB_RELEASE=20
DISTRIB_DESCRIPTION=UnionTech OS 20
DISTRIB_CODENAME=eagle
#!/bin/bash
echo '{"blockdevices": []}'
PRETTY_NAME=UnionTech OS Desktop 20 Pro
NAME=uos
VERSION_ID=20
VERSION=20
ID=uos
HOME_URL=https://www.chinauos.com/
BUG_REPORT_URL=http://bbs.chinauos.com
VERSION_CODENAME=eagle
#!/bin/bash -e
bwrap --dev-bind / / \
--bind /opt/wechat-uos/crap/uos-release /etc/os-release \
--bind /opt/wechat-uos/crap/uos-lsb /etc/lsb-release \
--bind /opt/wechat-uos/crap/uos-lsblk /usr/bin/lsblk \
/opt/wechat-uos/wechat
[Desktop Entry]
Name=微信
Comment=微信 (UOS 魔改版)
GenericName=微信
Exec=/usr/bin/wechat-uos %U
Icon=wechat
Type=Application
StartupNotify=true
Categories=Application;chat;
#!/usr/bin/sh
bwrap --dev-bind / / \
--bind /etc/lsb-release-ukui /etc/lsb-release \
electron /usr/lib/wechat "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment