summaryrefslogtreecommitdiff
path: root/core/btrfs-progs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-24 23:15:03 +0000
committerroot <root@rshg054.dnsready.net>2012-01-24 23:15:03 +0000
commit2aa2acfff38de7de825868995e49792ecfc03126 (patch)
treedee0f24162f2437b58208ac5073fb6492cb95767 /core/btrfs-progs
parentc6c657b8bcf062b5d19eff6298b7754c11838080 (diff)
Tue Jan 24 23:15:02 UTC 2012
Diffstat (limited to 'core/btrfs-progs')
-rw-r--r--core/btrfs-progs/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/core/btrfs-progs/PKGBUILD b/core/btrfs-progs/PKGBUILD
new file mode 100644
index 000000000..343cb55c3
--- /dev/null
+++ b/core/btrfs-progs/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 147160 2012-01-23 15:27:41Z ibiru $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=btrfs-progs
+pkgver=0.19.20120110
+pkgrel=2
+pkgdesc="btrfs filesystem utilities"
+arch=(i686 x86_64)
+depends=('glibc' 'e2fsprogs')
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz)
+url="http://btrfs.wiki.kernel.org/"
+replaces=('btrfs-progs-unstable')
+conflicts=('btrfs-progs-unstable')
+provides=('btrfs-progs-unstable')
+license=('GPL2')
+
+build() {
+ cd $srcdir/$pkgname
+ make CFLAGS="$CFLAGS" all convert
+}
+
+package() {
+ cd $srcdir/$pkgname
+ make prefix=$pkgdir/usr install
+ # fix manpage
+ mkdir -p $pkgdir/usr/share/
+ mv $pkgdir/usr/man $pkgdir/usr/share/man
+ mkdir -p ${pkgdir}/sbin
+ ln -sf /usr/bin/btrfs ${pkgdir}/sbin/btrfs
+}
+md5sums=('a3f6fbeb166f8e6b5c06833888d4ecf2')