summaryrefslogtreecommitdiff
path: root/pcr/python-xattr-git
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 12:31:35 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-02 12:31:35 -0500
commit760a84453fb0c222c9ce5e8b0307b03ff7b3ea95 (patch)
treeb6b8da8768e6a0cf62532e95e1065e0e013c078b /pcr/python-xattr-git
parent86c3f0a7c46ad1a6a4ec63657ae35c60145b2d5f (diff)
python-xattr-git-93.ab5d7cb-1: updating version
Diffstat (limited to 'pcr/python-xattr-git')
-rw-r--r--pcr/python-xattr-git/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/python-xattr-git/PKGBUILD b/pcr/python-xattr-git/PKGBUILD
new file mode 100644
index 000000000..bfe42ea09
--- /dev/null
+++ b/pcr/python-xattr-git/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+pkgname=python-xattr-git
+pkgver=93.ab5d7cb
+pkgrel=1
+pkgdesc="Module for manipulating filesystem extended attributes"
+arch=(i686 x86_64)
+url="https://github.com/xattr/xattr"
+license=('MIT' 'PSF')
+depends=('python' 'python-cffi')
+makedepends=('git' 'python-setuptools')
+provides=('python-xattr=0.7.5')
+conflicts=('python-xattr')
+source=("$pkgname"::'git://github.com/xattr/xattr.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ python setup.py install --root=${pkgdir} --prefix=/usr
+}