aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-ttystatus/APKBUILD
blob: 97f229b2151bcbbd0e38cf9c8fe38f3f5b2f5530 (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
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=py-ttystatus
_pkgname=${pkgname#py-}
pkgver=0.23
pkgrel=0
pkgdesc="Terminal progress bar and status output for command line"
url="http://liw.fi/ttystatus/"
arch="noarch"
license="GPL3+"
depends="python2"
depends_dev=""
makedepends="py-setuptools"
install=""
subpackages=""
source="http://code.liw.fi/debian/pool/main/p/python-ttystatus/python-ttystatus_$pkgver.orig.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver

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

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

md5sums="bfc43748b5a569a0d5e283b2e78814a8  python-ttystatus_0.23.orig.tar.gz"
sha256sums="1ecd58dff0049fdccedb6cd41ff0ddc51971c943e8d1887f8c027ae9e3aeb17a  python-ttystatus_0.23.orig.tar.gz"
sha512sums="29dd9ee0a063b4f49c72a1f08acfe80f4db9b3a374b1424a98926d25e22c8df0ed89441997322556edaad03a339dafdbf874a1247f095f1f857ef04f90b8a040  python-ttystatus_0.23.orig.tar.gz"