aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-dialog/APKBUILD
blob: 6a32f5ef6bbdacda3d5a8fc16f854b9e42959702 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-dialog
pkgver=3.4.0
pkgrel=1
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="https://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"