aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/github-cli/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/github-cli/APKBUILD b/testing/github-cli/APKBUILD
new file mode 100644
index 0000000000..d482e2047e
--- /dev/null
+++ b/testing/github-cli/APKBUILD
@@ -0,0 +1,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"