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

Evangelos Foutras foutrelis at archlinux.org
Tue Sep 18 07:26:12 UTC 2018


    Date: Tuesday, September 18, 2018 @ 07:26:12
  Author: foutrelis
Revision: 382953

archrelease: copy trunk to community-staging-x86_64

Added:
  btfs/repos/community-staging-x86_64/
  btfs/repos/community-staging-x86_64/PKGBUILD
    (from rev 382952, btfs/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: btfs/repos/community-staging-x86_64/PKGBUILD (from rev 382952, btfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-09-18 07:26:12 UTC (rev 382953)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.18
+pkgrel=4
+pkgdesc="A bittorrent filesystem based on FUSE"
+arch=('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=('d29f3816527c1eed105b45da559d025d61c8652144358227ed0ca3e516582cd8186fdcdf730b19fde6e7e9db1477690237444d2efe7c740f81f91032f1a12f86')
+
+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
+}



More information about the arch-commits mailing list