summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2015-07-01 17:40:07 +0200
committerXZS2015-07-01 17:40:07 +0200
commitdf2c14bc90866625aba7f36d20fb4c9cef5aa697 (patch)
tree07e824cce6f7c449a439b249212e8be84ce46527
downloadaur-df2c14bc90866625aba7f36d20fb4c9cef5aa697.tar.gz
intitial import from old AUR version 3
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..68445185769
--- /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 00000000000..1cfb15e68f8
--- /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: