diff options
author | Heiko Nickerl | 2017-09-12 14:53:41 +0200 |
---|---|---|
committer | Heiko Nickerl | 2017-09-12 14:53:41 +0200 |
commit | 9756ff0399e5d5901e39054d9ccb1176b7374b19 (patch) | |
tree | 2325b148935fd4f43a290669c786940f58663cd6 | |
download | aur-9756ff0399e5d5901e39054d9ccb1176b7374b19.tar.gz |
created package
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..906d93219591 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-npyscreen-git + pkgdesc = A python widget library and application framework + pkgver = r480.d286599 + pkgrel = 1 + url = https://github.com/npcole/npyscreen + arch = any + license = BSD + makedepends = git + depends = python + depends = python-setuptools + source = git+https://github.com/npcole/npyscreen.git + sha256sums = SKIP + +pkgname = python-npyscreen-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5da6183fd414 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Heiko Nickerl <dev at heiko-nickerl dot com> +pkgname="python-npyscreen-git" +pkgver=r480.d286599 +pkgrel=1 +pkgdesc="A python widget library and application framework" +arch=('any') +url="https://github.com/npcole/npyscreen" +license=('BSD') +makedepends=('git') +depends=('python' 'python-setuptools') +source=('git+https://github.com/npcole/npyscreen.git') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/npyscreen" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/npyscreen" + msg "$srcdir/npyscreen/LICENSE" + install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + python setup.py install --root="$pkgdir/" --optimize=1 +} |