[arch-commits] Commit in btfs/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jan 15 09:29:14 UTC 2019
Date: Tuesday, January 15, 2019 @ 09:29:13
Author: foutrelis
Revision: 423234
archrelease: copy trunk to community-staging-x86_64
Added:
btfs/repos/community-staging-x86_64/
btfs/repos/community-staging-x86_64/PKGBUILD
(from rev 423233, btfs/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: btfs/repos/community-staging-x86_64/PKGBUILD (from rev 423233, btfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-15 09:29:13 UTC (rev 423234)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=btfs
+pkgver=2.18
+pkgrel=5
+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