diff options
Diffstat (limited to 'community/py3-dialog/APKBUILD')
-rw-r--r-- | community/py3-dialog/APKBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/community/py3-dialog/APKBUILD b/community/py3-dialog/APKBUILD index f4d9b05b0c..3e1d310173 100644 --- a/community/py3-dialog/APKBUILD +++ b/community/py3-dialog/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py3-dialog pkgver=3.4.0 -pkgrel=0 +pkgrel=1 pkgdesc="A Python3 interface to the UNIX dialog utility and mostly-compatible programs" url="http://pythondialog.sourceforge.net/" arch="noarch" @@ -10,17 +10,21 @@ license="LGPL" depends="dialog" makedepends="python3-dev binutils" source="http://downloads.sourceforge.net/project/pythondialog/pythondialog/${pkgver}/python3-pythondialog-${pkgver}.tar.bz2" - builddir="$srcdir"/pythondialog-$pkgver build() { cd "$builddir" - python3 setup.py build || return 1 + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check } package() { cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" } md5sums="3d5ebc33e85f6313964f5eef720dab19 python3-pythondialog-3.4.0.tar.bz2" |