summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f0cc3b03e7a..1e9129976ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,24 @@
pkgname=python-asciimatics
_name=${pkgname//python-}
-pkgver=1.11.0
-pkgrel=3
-pkgdesc='A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations.'
+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://pypi.org/project/asciimatics'
-license=('Apache2')
-depends=('python' 'python-wcwidth' 'python-pyfiglet' 'python-future' 'python-pillow')
+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")
-md5sums=('9abc134166e6a83671b379dc03830a3f')
+sha256sums=('4120461a3fb345638dee4fe0f8a3d3f9b6d2d2e003f95c5f914523f94463158d')
build() {
- cd "$srcdir/${_name}-$pkgver"
- python setup.py clean --all
- python setup.py build
+ cd $_name-$pkgver
+ python setup.py build
}
package() {
- cd "$srcdir/${_name}-$pkgver"
- python setup.py install --root "$pkgdir" --skip-build --optimize=1
- install -Dm644 "$srcdir/${_name}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ cd $_name-$pkgver
+ python setup.py install --root "$pkgdir" --skip-build --optimize=1
}