summaryrefslogtreecommitdiff
path: root/user/py3-apkkit/APKBUILD
blob: 177c9f901cd5d5defa32650893871b9cc046053d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"