[arch-commits] Commit in btfs/repos (4 files)

Felix Yan fyan at archlinux.org
Wed Jan 6 15:20:05 UTC 2016


    Date: Wednesday, January 6, 2016 @ 16:20:05
  Author: fyan
Revision: 155587

archrelease: copy trunk to community-i686, community-x86_64

Added:
  btfs/repos/community-i686/
  btfs/repos/community-i686/PKGBUILD
    (from rev 155586, btfs/trunk/PKGBUILD)
  btfs/repos/community-x86_64/
  btfs/repos/community-x86_64/PKGBUILD
    (from rev 155586, btfs/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: btfs/repos/community-i686/PKGBUILD (from rev 155586, btfs/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-01-06 15:20:05 UTC (rev 155587)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.4
+pkgrel=1
+pkgdesc="A bittorrent filesystem based on FUSE"
+arch=('i686' 'x86_64')
+url="https://github.com/johang/btfs"
+license=('GPL')
+depends=('fuse' '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/python$|#!/usr/bin/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-x86_64/PKGBUILD (from rev 155586, btfs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-01-06 15:20:05 UTC (rev 155587)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.4
+pkgrel=1
+pkgdesc="A bittorrent filesystem based on FUSE"
+arch=('i686' 'x86_64')
+url="https://github.com/johang/btfs"
+license=('GPL')
+depends=('fuse' '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/python$|#!/usr/bin/python2|' scripts/btplay
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  autoreconf -i
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list