diff options
author | XZS | 2015-07-01 17:40:07 +0200 |
---|---|---|
committer | XZS | 2015-07-01 17:40:07 +0200 |
commit | df2c14bc90866625aba7f36d20fb4c9cef5aa697 (patch) | |
tree | 07e824cce6f7c449a439b249212e8be84ce46527 | |
download | aur-df2c14bc90866625aba7f36d20fb4c9cef5aa697.tar.gz |
intitial import from old AUR version 3
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..684451857695 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-path-and-address + pkgdesc = Functions for server CLI applications used by humans. + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/joeyespo/path-and-address + arch = any + license = MIT + makedepends = python-setuptools + makedepends = git + depends = python + options = !emptydirs + source = python-path-and-address::git://github.com/joeyespo/path-and-address + md5sums = SKIP + +pkgname = python-path-and-address + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1cfb15e68f81 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: XZS <d dot f dot fischer at web dot de> +pkgname=python-path-and-address +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Functions for server CLI applications used by humans." +arch=('any') +url="https://github.com/joeyespo/path-and-address" +license=('MIT') +depends=('python') +makedepends=('python-setuptools' 'git') +options=(!emptydirs) +source=("$pkgname::git://github.com/joeyespo/path-and-address") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + grep -Po "(?<=version=').*(?=',)" setup.py +} + +package() { + cd "$srcdir/$pkgname" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |