summaryrefslogtreecommitdiffstats
path: root/testing/github-cli/APKBUILD
blob: d482e2047e7c73ec556ddc8fa1a01b7165291ac0 (plain)
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
26
27
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=github-cli
pkgver=1.0.0
pkgrel=0
pkgdesc="GitHub issue tracker client"
url="http://packages.python.org/github-cli/"
arch="noarch"
license="BSD"
depends="python py-simplejson"
depends_dev="py-distutils-extra"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/jsmits/$pkgname/archive/$pkgver.zip"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build
}

package() {
	cd "$_builddir"
	python setup.py install --root="$pkgdir" -O1 
	install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
	install -Dm644 README.rst "$pkgdir/usr/share/doc/$pkgname/README.rst"
}

md5sums="f00ffadefc977c0be4ff16d8ca47bc53  1.0.0.zip"
sha256sums="4b38986dc8397c72d2fd82e916d8bdf86ecc80a286083d7c2b19d77a08f30faa  1.0.0.zip"
sha512sums="8335435fbe070da028425914d6946f56d910d7fb89f6a62d4b43d39f5afcc5fda44f6788e7925544f81c17716a7488e70b68f3e6d68d8e7e764ba730e44b00f4  1.0.0.zip"