[arch-commits] Commit in btfs/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sat Oct 8 11:53:56 UTC 2016
Date: Saturday, October 8, 2016 @ 11:53:55
Author: bpiotrowski
Revision: 191631
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 191630, btfs/trunk/PKGBUILD)
btfs/repos/community-staging-x86_64/
btfs/repos/community-staging-x86_64/PKGBUILD
(from rev 191630, 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 191630, btfs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-10-08 11:53:55 UTC (rev 191631)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.12
+pkgrel=2
+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/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 191630, btfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-10-08 11:53:55 UTC (rev 191631)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.12
+pkgrel=2
+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/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
+}
More information about the arch-commits
mailing list