From 760a84453fb0c222c9ce5e8b0307b03ff7b3ea95 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 2 May 2015 12:31:35 -0500 Subject: python-xattr-git-93.ab5d7cb-1: updating version --- pcr/python-xattr-git/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/python-xattr-git/PKGBUILD (limited to 'pcr/python-xattr-git/PKGBUILD') 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 + +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 +} -- cgit v1.2.3-54-g00ecf