diff options
author | Andrejs Mivreņiks | 2015-06-08 12:33:57 +0300 |
---|---|---|
committer | Andrejs Mivreņiks | 2015-06-08 12:33:57 +0300 |
commit | 0b786a78722e74773a97581f0d98d3c1fa8f6e68 (patch) | |
tree | e6e825cc6c0394a4bf0d5a101fdfd251e1f5a76f | |
download | aur-0b786a78722e74773a97581f0d98d3c1fa8f6e68.tar.gz |
Transition to AUR4
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5d4a9e7a21de --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-cli + pkgdesc = A framework for making simple, correct command line applications in Python. Also known as pyCLI. + pkgver = 2.0.3 + pkgrel = 2 + url = https://github.com/whilp/cli + arch = any + license = custom:ISC + makedepends = python-setuptools + depends = python + source = https://github.com/whilp/cli/archive/v2.0.3.tar.gz + sha256sums = c6d1ed487322d964e8ebae1dc8edf1d50f434c28 + +pkgname = python-cli + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ebfabfb2da7c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Andrejs Mivreņiks <gim at fastmail dot fm> +pkgname=python-cli +pkgver=2.0.3 +pkgrel=2 +pkgdesc='A framework for making simple, correct command line applications in Python. Also known as pyCLI.' +arch=('any') +url='https://github.com/whilp/cli' +license=('custom:ISC') +depends=('python') +makedepends=('python-setuptools') +source=("https://github.com/whilp/cli/archive/v${pkgver}.tar.gz") +sha256sums=('66e54c2bb5e31f6d306679efe3297b020c14ce487e57e6a4bfac3f58033f782a') + +build() { + cd "${srcdir}/cli-$pkgver" + python setup.py build +} + +package() { + cd "${srcdir}/cli-$pkgver" + python setup.py install --root=$pkgdir --prefix=/usr --optimize=1 +} |