Date: Saturday, March 12, 2016 @ 14:13:34 Author: lfleischer Revision: 166377
Import python-llfuse Added: python-llfuse/ python-llfuse/repos/ python-llfuse/trunk/ python-llfuse/trunk/PKGBUILD ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Added: python-llfuse/trunk/PKGBUILD =================================================================== --- python-llfuse/trunk/PKGBUILD (rev 0) +++ python-llfuse/trunk/PKGBUILD 2016-03-12 13:13:34 UTC (rev 166377) @@ -0,0 +1,35 @@ +# Maintainer: Lukas Fleischer <[email protected]> +# Contributor: Brendan MacDonell <macdonellba at gmail dot com> + +pkgbase=python-llfuse +pkgname=(python-llfuse python2-llfuse) +pkgver=1.0 +pkgrel=1 +pkgdesc="A set of Python bindings for the low level FUSE API." +arch=('i686' 'x86_64') +url="https://bitbucket.org/nikratio/python-llfuse/" +license=('LGPL3') +depends=('fuse') +makedepends=('pkg-config' 'python' 'python2' 'python-setuptools' 'python2-setuptools') +options=(!emptydirs) +source=("https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-${pkgver}.tar.bz2") +md5sums=('6e71af191381da135a222e3c0e7569a1') + +build() { + cd "${srcdir}/llfuse-${pkgver}" + python setup.py build +} + +package_python-llfuse() { + depends+=(python python-setuptools) + + cd "${srcdir}/llfuse-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-llfuse() { + depends+=(python2 python2-setuptools) + + cd "${srcdir}/llfuse-${pkgver}" + python2 setup.py install --root="$pkgdir" --optimize=1 +}
