aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-dialog/APKBUILD
blob: db43d39e4c9d5f2947ddb8d5d8e406568be5b8d8 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-dialog
pkgver=3.4.0
pkgrel=0
pkgdesc="A Python interface to the UNIX dialog utility and mostly-compatible programs"
url="http://pythondialog.sourceforge.net/"
arch="noarch"
license="LGPL"
depends="dialog"
depends_dev=""
makedepends="$depends_dev py-setuptools binutils"
install=""
subpackages=""
source="http://downloads.sourceforge.net/project/pythondialog/pythondialog/${pkgver}/python2-pythondialog-${pkgver}.tar.bz2"

builddir="$srcdir"/python2-pythondialog-$pkgver

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

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

md5sums="400fd290dd16fbb6beac10b80541ed93  python2-pythondialog-3.4.0.tar.bz2"
sha256sums="8978d355c8db6728eeb9e23b39449b14597f1c76cb06dc72462642ca7cde46a0  python2-pythondialog-3.4.0.tar.bz2"
sha512sums="6dd0ebf4360964a260cc8ad155b34ba799a925e34e332b3478a712a5f7e5f32e8b2b7484c54b0dd1f9471bb0b6a5bda50d248e015926a2f37e803b2dcefc84b7  python2-pythondialog-3.4.0.tar.bz2"