diff options
Diffstat (limited to 'main/py-genshi/APKBUILD')
-rw-r--r-- | main/py-genshi/APKBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/main/py-genshi/APKBUILD b/main/py-genshi/APKBUILD index 5ca4543873..7169ef7112 100644 --- a/main/py-genshi/APKBUILD +++ b/main/py-genshi/APKBUILD @@ -6,22 +6,23 @@ pkgver=0.6 pkgrel=2 pkgdesc="Python toolkit for stream-based generation of output for the web." url="http://genshi.edgewall.org/" -arch="all" +arch="noarch" license="BSD" depends="python" makedepends="py-setuptools python-dev" -install= +install="" +subpackages="" source="http://ftp.edgewall.com/pub/genshi/$_realname-$pkgver.tar.gz" _builddir="$srcdir"/$_realname-$pkgver - build() { - return 0 + cd "$_builddir" + python setup.py build || return 1 } package() { cd "$_builddir" - python setup.py install --root="$pkgdir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="604e8b23b4697655d36a69c2d8ef7187 Genshi-0.6.tar.gz" |