Date: Tuesday, September 12, 2017 @ 14:48:33 Author: bpiotrowski Revision: 257132
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: btfs/repos/community-staging-i686/ btfs/repos/community-staging-i686/PKGBUILD (from rev 257131, btfs/trunk/PKGBUILD) btfs/repos/community-staging-x86_64/ btfs/repos/community-staging-x86_64/PKGBUILD (from rev 257131, btfs/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) Copied: btfs/repos/community-staging-i686/PKGBUILD (from rev 257131, btfs/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-09-12 14:48:33 UTC (rev 257132) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=btfs +pkgver=2.17 +pkgrel=2 +pkgdesc="A bittorrent filesystem based on FUSE" +arch=('i686' '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=('e4fae52e46581ca382ac4ddd64d80217a9bc0c18cd6317bb4780734c193dcdd9cfed210073b5fd2d8514be2922bb3f0481b13695411e97bb67b7d793f071c3e1') + +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 +} Copied: btfs/repos/community-staging-x86_64/PKGBUILD (from rev 257131, btfs/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-09-12 14:48:33 UTC (rev 257132) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=btfs +pkgver=2.17 +pkgrel=2 +pkgdesc="A bittorrent filesystem based on FUSE" +arch=('i686' '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=('e4fae52e46581ca382ac4ddd64d80217a9bc0c18cd6317bb4780734c193dcdd9cfed210073b5fd2d8514be2922bb3f0481b13695411e97bb67b7d793f071c3e1') + +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 +}