diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/py-batinfo/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/community/py-batinfo/APKBUILD b/community/py-batinfo/APKBUILD index 30055d074e..00cf478c2f 100644 --- a/community/py-batinfo/APKBUILD +++ b/community/py-batinfo/APKBUILD @@ -3,7 +3,7 @@ pkgname=py-batinfo _pkgname=batinfo pkgver=0.3 -pkgrel=1 +pkgrel=2 pkgdesc="A simple Python lib to retreive battery information" url="https://github.com/nicolargo/batinfo" arch="noarch" @@ -31,7 +31,8 @@ _py() { install_if="$pkgname=$pkgver-r$pkgrel $python" cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" + $python setup.py install --prefix=/usr --root="$subpkgdir" || return 1 + rm -Rf "$subpkgdir"/usr/share/doc/batinfo } _py2() { |