Date: Monday, January 2, 2017 @ 08:09:55 Author: felixonmars Revision: 204182
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 204181, btfs/trunk/PKGBUILD) btfs/repos/community-staging-x86_64/ btfs/repos/community-staging-x86_64/PKGBUILD (from rev 204181, 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 204181, btfs/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-01-02 08:09:55 UTC (rev 204182) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=btfs +pkgver=2.13 +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=('git' 'boost') +optdepends=('python2: for btplay') +source=("git://github.com/johang/btfs.git#tag=v$pkgver") +md5sums=('SKIP') + +prepare() { + cd "$srcdir/$pkgname" + sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' scripts/btplay +} + +build() { + cd "$srcdir/$pkgname" + autoreconf -i + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir" install +} Copied: btfs/repos/community-staging-x86_64/PKGBUILD (from rev 204181, btfs/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-01-02 08:09:55 UTC (rev 204182) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=btfs +pkgver=2.13 +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=('git' 'boost') +optdepends=('python2: for btplay') +source=("git://github.com/johang/btfs.git#tag=v$pkgver") +md5sums=('SKIP') + +prepare() { + cd "$srcdir/$pkgname" + sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' scripts/btplay +} + +build() { + cd "$srcdir/$pkgname" + autoreconf -i + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir" install +}