blob: bfe42ea0943fcc65967ebc6d45d31fe1b8d4044b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}
|