summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamLukeYes2020-07-30 22:54:48 +0800
committerSamLukeYes2020-07-30 22:54:48 +0800
commitbec8f234eb3392a8390d6c44a8515d5c221cd059 (patch)
treeb0e8acd04ff13a04445bade126d9a91802008ff4
downloadaur-bec8f234eb3392a8390d6c44a8515d5c221cd059.tar.gz
import this deepin-wine5 package from Spark Store
-rw-r--r--.SRCINFO19
-rwxr-xr-x.gitignore4
-rwxr-xr-xPKGBUILD31
-rw-r--r--wechat.install7
4 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a200557aeca
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = com.qq.weixin.dcs
+ pkgdesc = Tencent WeChat Client on Deepin Wine 5
+ pkgver = 2.9.5.41
+ pkgrel = 1
+ url = http://weixin.qq.com/
+ install = wechat.install
+ arch = i686
+ arch = x86_64
+ license = unknown
+ makedepends = tar
+ depends = deepin-wine5
+ depends = p7zip
+ depends = xdg-utils
+ depends = hicolor-icon-theme
+ source = http://store.jerrywang.top/store/chat/com.qq.weixin.dcs/com.qq.weixin.dcs_2.9.5.41_i386.deb
+ sha512sums = 850297e7741c1bbeef12cd2fdcf85de707c7b13669de934f8c369801e44c9119a57fab69c321f1c77b79c9e3ee24ffd47784de9cfe704caa53e6c2bf0c9f65d2
+
+pkgname = com.qq.weixin.dcs
+
diff --git a/.gitignore b/.gitignore
new file mode 100755
index 00000000000..1749e8b7d08
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar*
+src/
+pkg/
+*.deb \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..13e3341e11b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Sam L. Yes <samlukeyes123@gmail.com>
+pkgname=com.qq.weixin.dcs
+pkgver=2.9.5.41
+pkgrel=1
+epoch=
+pkgdesc="Tencent WeChat Client on Deepin Wine 5"
+arch=('i686' 'x86_64')
+url="http://weixin.qq.com/"
+license=('unknown')
+groups=()
+depends=('deepin-wine5' 'p7zip' 'xdg-utils' 'hicolor-icon-theme')
+makedepends=('tar')
+checkdepends=()
+#optdepends=('zenity: Display process bar')
+provides=()
+#conflicts=('deepin-wine-wechat' 'deepin.com.wechat')
+replaces=()
+backup=()
+options=()
+install=wechat.install
+changelog=
+source=("http://store.jerrywang.top/store/chat/${pkgname}/${pkgname}_${pkgver}_i386.deb")
+sha512sums=("850297e7741c1bbeef12cd2fdcf85de707c7b13669de934f8c369801e44c9119a57fab69c321f1c77b79c9e3ee24ffd47784de9cfe704caa53e6c2bf0c9f65d2")
+validpgpkeys=()
+
+package() {
+ cd ${pkgdir}
+ tar xpvf ${srcdir}/data.tar.xz --xattrs-include='*' --numeric-owner
+ install -d usr/share
+ mv opt/durapps/${pkgname}/entries/* usr/share
+}
diff --git a/wechat.install b/wechat.install
new file mode 100644
index 00000000000..0c51d32556e
--- /dev/null
+++ b/wechat.install
@@ -0,0 +1,7 @@
+post_upgrade() {
+ echo "Deleting existing WeChat bottles..."
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/DCS-WeChat/ \;
+}
+post_remove() {
+ post_upgrade
+} \ No newline at end of file