summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1e9129976eee34b43b722c1f1f07aa98146f9883 (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
# Maintainer: Filipe Nascimento <flipee at tuta dot io>
# Contributor: Ke Liu <spcter119@gmail.com>

pkgname=python-asciimatics
_name=${pkgname//python-}
pkgver=1.12.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://github.com/peterbrittain/asciimatics"
license=('Apache')
depends=('python-wcwidth' 'python-pyfiglet' 'python-future' 'python-pillow')
makedepends=('python-setuptools-scm')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('4120461a3fb345638dee4fe0f8a3d3f9b6d2d2e003f95c5f914523f94463158d')

build() {
    cd $_name-$pkgver
    python setup.py build
}

package() {
    cd $_name-$pkgver
    python setup.py install --root "$pkgdir" --skip-build --optimize=1
}