summaryrefslogtreecommitdiff
path: root/main/py-cliapp/APKBUILD
blob: 25433e1bf846e160da18e05a823829ec30a06af9 (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
# Maintainer:
pkgname=py-cliapp
_pkgname=${pkgname#py-}
pkgver=1.20150829
pkgrel=1
pkgdesc="Framework for Unix-like command line programs"
url="http://liw.fi/cliapp/"
arch="noarch"
license="GPL3+"
depends="python2"
depends_dev=""
makedepends="py-setuptools"
install=""
subpackages="$pkgname-doc"
source="http://code.liw.fi/debian/pool/main/p/python-cliapp/python-cliapp_$pkgver.orig.tar.xz"

_builddir="$srcdir"/python-$_pkgname-$pkgver

build() {
	cd "$_builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="32ed6af694fe0ce06a62f0ef1ffc7387  python-cliapp_1.20150829.orig.tar.xz"
sha256sums="28bc06e8c810e8c392768d2c60b73445dd7f15efc85f124537e4ac16c2265586  python-cliapp_1.20150829.orig.tar.xz"
sha512sums="1d5147e5527b46707e9d7bb38f72584ba58790c97ea25f173644db10ddeea5e1ed03452729a9a0d28473761960079670f8906cd4ea9fbe70ced4ce45369cf5a9  python-cliapp_1.20150829.orig.tar.xz"