diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..77f047d1d208 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer kang <kang@insecure.ws> + +pkgname=python-console-menu-git +_pkgname="console-menu" +pkgver=v0.6.0.r11.g93006cb +pkgrel=1 +pkgdesc="A simple Python menu system for building terminal user interfaces." +arch=('any') +url="https://github.com/aegirhall/console-menu" +license=('MIT') +depends=('python' 'python-jose' 'python-requests') +makedepends=('git' 'python-setuptools') +source=('git://github.com/aegirhall/console-menu') +md5sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd $_pkgname + python setup.py build +} + +package() { + cd $_pkgname + python setup.py install --root=${pkgdir} --optimize=1 +} |