blob: d6977f435f38c78b34e51ebe544b2ea9ce942dc4 (
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
31
|
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
pkgname=python-xattr
pkgver=20111028
pkgrel=1
pkgdesc="module for manipulating filesystem extended attributes"
arch=('i686' 'x86_64')
url="http://undefined.org/python/#xattr"
license=('MIT')
conflicts=('pyattr')
provied=('pyattr')
makedepends=('setuptools')
depends=('python2' 'git')
_gitroot=https://github.com/xattr/xattr.git
_gitname=xattr
build() {
cd $srcdir/
if [ -e ${_gitname} ] ; then
cd ${_gitname}
git pull
cd ..
else
git clone ${_gitroot} ${_gitname}
fi
cd $srcdir/xattr/
python2 setup.py install --prefix=/usr --root=$pkgdir
}
|