summaryrefslogtreecommitdiff
path: root/core/btrfs-progs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/btrfs-progs/PKGBUILD')
-rw-r--r--core/btrfs-progs/PKGBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/core/btrfs-progs/PKGBUILD b/core/btrfs-progs/PKGBUILD
index 343cb55c3..4161b1d43 100644
--- a/core/btrfs-progs/PKGBUILD
+++ b/core/btrfs-progs/PKGBUILD
@@ -1,31 +1,41 @@
-# $Id: PKGBUILD 147160 2012-01-23 15:27:41Z ibiru $
+# $Id: PKGBUILD 156058 2012-04-12 15:42:01Z dreisner $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=btrfs-progs
-pkgver=0.19.20120110
+pkgver=0.19.20120328
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')
+source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
+ initcpio-install-btrfs
+ initcpio-hook-btrfs)
+md5sums=('f4504e73cf9254779b78d5b2318ac570'
+ 'bdaaf6bd339220c63260acec809864d2'
+ 'b09688a915a0ec8f40e2f5aacbabc9ad')
build() {
- cd $srcdir/$pkgname
- make CFLAGS="$CFLAGS" all convert
+ cd $srcdir/$pkgname-$pkgver
+ make CFLAGS="$CFLAGS"
}
package() {
- cd $srcdir/$pkgname
+ cd $srcdir/$pkgname-$pkgver
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
+
+ # install mkinitcpio hooks
+ install -Dm644 "$srcdir/initcpio-install-btrfs" \
+ "$pkgdir/usr/lib/initcpio/install/btrfs"
+ install -Dm644 "$srcdir/initcpio-hook-btrfs" \
+ "$pkgdir/usr/lib/initcpio/hooks/btrfs"
}
-md5sums=('a3f6fbeb166f8e6b5c06833888d4ecf2')