diff options
Diffstat (limited to 'community/python-pyxattr/PKGBUILD')
-rw-r--r-- | community/python-pyxattr/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/python-pyxattr/PKGBUILD b/community/python-pyxattr/PKGBUILD new file mode 100644 index 000000000..afad28f49 --- /dev/null +++ b/community/python-pyxattr/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 92209 2013-06-02 18:57:49Z bpiotrowski $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Jon Bergli Heier <snakebite@jvnv.net> + +pkgname=('python2-pyxattr' 'python-pyxattr') +pkgbase=python-pyxattr +_pkgname=pyxattr +pkgver=0.5.2 +pkgrel=1 +pkgdesc='A python extension module that allows you to manipulate the extended attributes.' +arch=('i686' 'x86_64') +url='http://pyxattr.k1024.org/' +license=('GPL') +makedepends=('python2' 'python' 'python2-distribute' 'python-distribute') +source=("http://pyxattr.k1024.org/downloads/pyxattr-$pkgver.tar.gz") +md5sums=('9ff2e4218badc201b689b6d254290001') + +package_python2-pyxattr() { + depends=('python2') + provides=('pyxattr') + conflicts=('pyxattr') + replaces=('pyxattr') + + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" +} + +package_python-pyxattr() { + depends=('python') + + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" +} |