diff options
Diffstat (limited to 'main/py-fuse')
-rw-r--r-- | main/py-fuse/APKBUILD | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/main/py-fuse/APKBUILD b/main/py-fuse/APKBUILD index d8eb266fbf..07a5f361c0 100644 --- a/main/py-fuse/APKBUILD +++ b/main/py-fuse/APKBUILD @@ -1,38 +1,26 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-fuse +_pkgname=fuse-python pkgver=0.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Python bindings for FUSE - filesystem in userspace" -url="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FusePython" +url="https://github.com/libfuse/python-fuse/" arch="all" license="LGPL2+" depends="python" -depends_dev="" makedepends="python-dev py-setuptools fuse-dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/fuse/fuse-python-$pkgver.tar.gz" - -_builddir="$srcdir"/fuse-python-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +source="https://github.com/libfuse/python-fuse/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python setup.py build || return 1 + cd "$builddir" + python setup.py build } package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python setup.py install --prefix=/usr --root="$pkgdir" } md5sums="9d9c5c2311ac04291ce822dfece108f8 fuse-python-0.2.1.tar.gz" |