# Maintainer:
pkgname=py-ttystatus
_pkgname=${pkgname#py-}
pkgver=0.23
pkgrel=1
pkgdesc="Terminal progress bar and status output for command line"
url="http://liw.fi/ttystatus/"
arch="noarch"
license="GPL-3.0-or-later"
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"
