[arch-commits] Commit in python-srcinfo/repos (2 files)
Felix Yan
fyan at archlinux.org
Sun Sep 20 09:57:26 UTC 2015
Date: Sunday, September 20, 2015 @ 11:57:25
Author: fyan
Revision: 141223
archrelease: copy trunk to community-staging-any
Added:
python-srcinfo/repos/community-staging-any/
python-srcinfo/repos/community-staging-any/PKGBUILD
(from rev 141222, python-srcinfo/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: python-srcinfo/repos/community-staging-any/PKGBUILD (from rev 141222, python-srcinfo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-20 09:57:25 UTC (rev 141223)
@@ -0,0 +1,22 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-srcinfo
+pkgver=0.0.2
+pkgrel=2
+
+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".tar.gz::"https://github.com/kyrias/python-srcinfo/archive/$pkgver.tar.gz")
+
+md5sums=('d9d7c8618a4eb288fb3e19fbd14af43d')
+
+package() {
+ cd python-srcinfo-"$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}
More information about the arch-commits
mailing list