summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkerojiang2020-10-27 21:03:46 +0800
committerkerojiang2020-10-27 21:03:46 +0800
commitd2086e4acd640d3b273f2b0d44af4869de691b20 (patch)
tree50cc3cc18d195249b7db09397110d58ff513ddf8 /PKGBUILD
downloadaur-d2086e4acd640d3b273f2b0d44af4869de691b20.tar.gz
init package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2dda445cde6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: kerojiang <kerojiang@126.com>
+pkgname=com.xiaokanba.bbs.spark
+pkgver=1.4.7.0spark0
+pkgrel=1
+epoch=
+pkgdesc="闪电下载(来自深度应用商店)"
+arch=('i686' 'x86_64')
+url="http://bbs.xiaokankba.com/"
+license=('unknown')
+groups=()
+depends=('deepin-wine5' 'deepin-wine-helper' 'xdg-utils')
+makedepends=('tar')
+checkdepends=()
+optdepends=('ttf-ms-fonts: Microsoft Core fonts'
+ 'noto-fonts-cjk: Google Noto CJK fonts')
+provides=()
+conflicts=('com.xiaokanba.bbs')
+replaces=('com.xiaokanba.bbs')
+backup=()
+options=()
+#install=wechat.install
+changelog=
+source=("https://sucdn.jerrywang.top/store/network/${pkgname}/${pkgname}_${pkgver}_i386.deb")
+md5sums=('52dc66e201972cf0bcba37b32db6d769')
+validpgpkeys=()
+
+package() {
+ cd ${pkgdir}
+ tar xpvf ${srcdir}/data.tar.xz --xattrs-include='*' --numeric-owner
+ install -d usr/share
+ mv opt/apps/${pkgname}/entries/* usr/share
+ rmdir opt/apps/${pkgname}/entries/
+ rm -rf usr/share/doc
+ rm opt/apps/${pkgname}/info
+}