diff options
-rw-r--r-- | community/github-cli/APKBUILD (renamed from testing/github-cli/APKBUILD) | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/testing/github-cli/APKBUILD b/community/github-cli/APKBUILD index d482e2047e..6945dff2bb 100644 --- a/testing/github-cli/APKBUILD +++ b/community/github-cli/APKBUILD @@ -2,30 +2,29 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=github-cli pkgver=1.0.0 -pkgrel=0 +pkgrel=1 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" +depends="python2 py-simplejson" +makedepends="py-distutils-extra" install="" subpackages="$pkgname-doc" source="https://github.com/jsmits/$pkgname/archive/$pkgver.zip" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" - python setup.py build + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python setup.py install --root="$pkgdir" -O1 + cd "$builddir" + python2 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" +md5sums="9e6b53ebebef3a6b07b6a3984e976c61 1.0.0.zip" +sha256sums="f30367a79243d6f9cc600185eff3f6074f0ffa6b46361be32ca198467a7467b8 1.0.0.zip" +sha512sums="ba57bb1a6842da951da2c807e49f0b1f18c36e754dad567cc912dff6e979cd6aefd6063f10bd99d32542f73d8001a5bfcebd54471f445259dc218386e00fe61d 1.0.0.zip" |