summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorluosoy2020-07-13 14:40:24 +0800
committerluosoy2020-07-13 14:40:24 +0800
commitab86c1e7b322ab114de85fc07bfb43510f0e1e6a (patch)
tree5ff20be4803bde9c1c1e25821c64d17a8fb1c2a1
downloadaur-ab86c1e7b322ab114de85fc07bfb43510f0e1e6a.tar.gz
提交deepin qq
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD40
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e10c07c1ccd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = com.qq.im.deepin
+ pkgdesc = Deepin Wine QQ
+ pkgver = 9.1.8
+ pkgrel = 1
+ url = http://im.qq.com/
+ arch = i686
+ arch = x86_64
+ license = Proprietary
+ makedepends = tar
+ depends = deepin-wine
+ conflicts = deepin-qq-im
+ noextract = com.qq.im.deepin_9.1.8deepin1-1_i386.deb
+ source = https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.qq.im.deepin/com.qq.im.deepin_9.1.8deepin1-1_i386.deb
+ md5sums = e623f70697047fac12cf5d38182f8a99
+
+pkgname = com.qq.im.deepin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..06b47523605
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: luosoy <249799588@qq.com>
+pkgname=com.qq.im.deepin
+_pkgver=9.1.8deepin1-1
+pkgver=9.1.8
+pkgrel=1
+epoch=
+pkgdesc="Deepin Wine QQ"
+arch=('i686' 'x86_64')
+url="http://im.qq.com/"
+license=('Proprietary')
+groups=()
+depends=('deepin-wine')
+makedepends=('tar')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=('deepin-qq-im')
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/${pkgname}/${pkgname}_${_pkgver}_i386.deb")
+noextract=("${pkgname}_${_pkgver}_i386.deb")
+md5sums=('e623f70697047fac12cf5d38182f8a99')
+validpgpkeys=()
+
+prepare() {
+ ar -x ${pkgname}_${_pkgver}_i386.deb
+ mkdir ${pkgname}-${pkgver}
+ tar -xf data.tar.xz --directory="${pkgname}-${pkgver}"
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ cp -r ./ ${pkgdir}/
+ mkdir -p ${pkgdir}/usr/share/applications
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/opt/apps/com.qq.im.deepin/entries/applications/com.qq.im.deepin.desktop ${pkgdir}/usr/share/applications/com.qq.im.deepin.desktop
+ cp -r ${srcdir}/${pkgname}-${pkgver}/opt/apps/com.qq.im.deepin/entries/icons/ ${pkgdir}/usr/share/
+}