aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-cliapp/APKBUILD
blob: 58656ced3e287f59aa413f475a19972d52ca0a61 (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: Eivind Uggedal <eivind@uggedal.com>
pkgname=py-cliapp
_pkgname=${pkgname#py-}
pkgver=1.20140719
pkgrel=0
pkgdesc="Framework for Unix-like command line programs"
url="http://liw.fi/cliapp/"
arch="noarch"
license="GPL3+"
depends="python"
depends_dev=""
makedepends="py-setuptools"
install=""
subpackages=""
source="http://code.liw.fi/debian/pool/main/p/python-cliapp/python-cliapp_$pkgver.orig.tar.gz"

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

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

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

md5sums="d9185a89d58654c28e370ac7715a521f  python-cliapp_1.20140719.orig.tar.gz"
sha256sums="f7c988a3a6d022de7c59430d6f7a3dc358d443a099a12af8daef115b1016b44f  python-cliapp_1.20140719.orig.tar.gz"
sha512sums="4199c681c37bfcf8d5be8fe5ad4ba6a4d943ddbe687a797306a66bb18066cb8a31c96cea96911d52f3e7184ba90e4b1f4c53b91c54eedc5d816a597b4846012e  python-cliapp_1.20140719.orig.tar.gz"