summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50e70246485e3608584e8948eec4a3cc481ef7b8 (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
# Maintainer: Ke Liu <spcter119@gmail.com>

pkgname=python-asciimatics
pkgver=1.11.0
pkgrel=1
pkgdesc='A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations.'
arch=('any')
url='https://pypi.org/project/asciimatics'
license=('Apache2')
depends=('python-wcwidth' 'python-mock' 'python-pyfiglet' 'python-future' 'python-setuptools-scm' 'python-pillow')
_pkgname=asciimatics
source=("https://files.pythonhosted.org/packages/source/a/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('9abc134166e6a83671b379dc03830a3f')

build() {
	cd "${_pkgname}-${pkgver}"
	python setup.py clean --all
	python setup.py build
}

package() {
	cd "${_pkgname}-${pkgver}"
	python setup.py install --root "$pkgdir"
	install -Dm644 "$srcdir/${_pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}