[arch-commits] Commit in btfs/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Jun 24 03:08:19 UTC 2016
Date: Friday, June 24, 2016 @ 03:08:19
Author: felixonmars
Revision: 180839
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 180838, btfs/trunk/PKGBUILD)
btfs/repos/community-staging-x86_64/
btfs/repos/community-staging-x86_64/PKGBUILD
(from rev 180838, 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 180838, btfs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-24 03:08:19 UTC (rev 180839)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.10
+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/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 180838, btfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-06-24 03:08:19 UTC (rev 180839)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.10
+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/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