aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-13 17:25:59 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-13 17:25:59 +0200
commit9633c6fb963f4b5c44e5cd61bf087ee9f378e412 (patch)
treeb79b4f83977d42f922e9829576138ac6df73b584 /PKGBUILD
downloadpkgbuilds-9633c6fb963f4b5c44e5cd61bf087ee9f378e412.tar.xz
Add python-srcinfo package
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..cf3bdbe
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+pkgname=python-srcinfo
+pkgver=0.0.1
+pkgrel=1
+
+pkgdesc="Simple .SRCINFO parsing library"
+url='https://github.com/kyrias/python-srcinfo'
+arch=('any')
+license=('ISC')
+
+depends=('python' 'python-setuptools' 'python-parse')
+
+source=(python-srcinfo-"$pkgver"::"https://github.com/kyrias/python-srcinfo/archive/$pkgver.tar.gz")
+
+md5sums=('9eb6917d2cdb15dc8ac60d7074e8b777')
+
+package() {
+ cd python-srcinfo-"$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}