summaryrefslogtreecommitdiff
path: root/user/py3-apkkit/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:10:18 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2021-01-14 18:10:18 +0000
commitf14d72df7d79825d9d2fef64139644a30befe1d9 (patch)
treeacb81ff606e86f5719ece0cdd9cf7379a8b1abea /user/py3-apkkit/APKBUILD
parenta0a60473fd05e9479fd17ff168ba67f9cc73ad74 (diff)
parentc7d608b1beb8d3c154d43f6615098d8fee4f54fd (diff)
downloadpackages-f14d72df7d79825d9d2fef64139644a30befe1d9.tar.gz
packages-f14d72df7d79825d9d2fef64139644a30befe1d9.tar.bz2
packages-f14d72df7d79825d9d2fef64139644a30befe1d9.tar.xz
packages-f14d72df7d79825d9d2fef64139644a30befe1d9.zip
Merge branch 'new/apkvitrine' into 'master'
Add apkvitrine + 2 dependencies See merge request adelie/packages!594
Diffstat (limited to 'user/py3-apkkit/APKBUILD')
-rw-r--r--user/py3-apkkit/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/py3-apkkit/APKBUILD b/user/py3-apkkit/APKBUILD
new file mode 100644
index 000000000..177c9f901
--- /dev/null
+++ b/user/py3-apkkit/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-apkkit
+_pkgname=${pkgname#py3-}
+pkgver=0.6.0.1
+pkgrel=0
+pkgdesc="Python library for manipulating and verifying APK packages"
+url="https://code.foxkit.us/adelie/apkkit"
+arch="noarch"
+options="!check" # No test suite.
+license="NCSA"
+depends="python3"
+makedepends=""
+source="https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+ rm "$pkgdir"/usr/README.rst
+}
+
+sha512sums="ef33047ce765d86872e0b4eb9204ec8741e1bbf3c93257797b2c7a0720bb090a90b83380e5f3194b3788557b9693dd32392e6be8235f82ab2eaf118cba8166e2 apkkit-0.6.0.1.tar.gz"