summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
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/
+}