Date: Sunday, June 3, 2018 @ 01:39:18 Author: foutrelis Revision: 338517
archrelease: copy trunk to community-staging-x86_64 Added: btfs/repos/community-staging-x86_64/ btfs/repos/community-staging-x86_64/PKGBUILD (from rev 338516, btfs/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: btfs/repos/community-staging-x86_64/PKGBUILD (from rev 338516, btfs/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-03 01:39:18 UTC (rev 338517) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=btfs +pkgver=2.18 +pkgrel=3 +pkgdesc="A bittorrent filesystem based on FUSE" +arch=('x86_64') +url="https://github.com/johang/btfs" +license=('GPL') +depends=('fuse2' 'libtorrent-rasterbar' 'curl') +makedepends=('boost') +optdepends=('python2: for btplay') +source=("$pkgname-$pkgver.tar.gz::https://github.com/johang/btfs/archive/v$pkgver.tar.gz") +sha512sums=('d29f3816527c1eed105b45da559d025d61c8652144358227ed0ca3e516582cd8186fdcdf730b19fde6e7e9db1477690237444d2efe7c740f81f91032f1a12f86') + +prepare() { + cd $pkgname-$pkgver + sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' scripts/btplay + autoreconf -i +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}