summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorspecter1192019-04-13 15:16:17 +0800
committerspecter1192019-04-13 15:16:17 +0800
commitd049efd87af142bec064b8d2d0707a4424cb088f (patch)
tree3fd2cdf267185ea789c5375da05c94979cac1e1f
downloadaur-d049efd87af142bec064b8d2d0707a4424cb088f.tar.gz
init commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f0d3104204d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-asciimatics
+ 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.10.0
+ pkgrel = 1
+ url = https://pypi.org/project/asciimatics
+ arch = any
+ license = Apache2
+ depends = python-wcwidth
+ depends = python-mock
+ depends = python-pyfiglet
+ depends = python-future
+ depends = python-setuptools-scm
+ depends = python-pillow
+ source = https://files.pythonhosted.org/packages/source/a/asciimatics/asciimatics-1.10.0.tar.gz
+ md5sums = 361c578f57d1c92e40ba0a9cd6c63e55
+
+pkgname = python-asciimatics
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5b81ee17822
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Ke Liu <spcter119@gmail.com>
+
+pkgname=python-asciimatics
+pkgver=1.10.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=('361c578f57d1c92e40ba0a9cd6c63e55')
+
+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"
+}