summaryrefslogtreecommitdiff
path: root/testing/btrfs-progs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/btrfs-progs/PKGBUILD')
-rw-r--r--testing/btrfs-progs/PKGBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/testing/btrfs-progs/PKGBUILD b/testing/btrfs-progs/PKGBUILD
index f40858d29..045e5e038 100644
--- a/testing/btrfs-progs/PKGBUILD
+++ b/testing/btrfs-progs/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 166671 2012-09-15 09:38:19Z tomegun $
+# $Id: PKGBUILD 167942 2012-10-03 23:03:54Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=btrfs-progs
pkgver=0.19.20120904
-pkgrel=4
+pkgrel=6
pkgdesc="btrfs filesystem utilities"
arch=(i686 x86_64)
depends=('glibc' 'e2fsprogs')
@@ -14,13 +14,19 @@ conflicts=('btrfs-progs-unstable')
provides=('btrfs-progs-unstable')
license=('GPL2')
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz
- 70-btrfs.rules
- initcpio-install-btrfs
- initcpio-hook-btrfs)
+ initcpio-install-btrfs
+ initcpio-hook-btrfs)
+install=btrfs.install
build() {
cd $srcdir/$pkgname-$pkgver
make CFLAGS="$CFLAGS"
+
+ # 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"
}
package() {
@@ -31,17 +37,7 @@ package() {
mv $pkgdir/usr/man $pkgdir/usr/share/man
mkdir -p ${pkgdir}/sbin
ln -sf /usr/bin/btrfs ${pkgdir}/sbin/btrfs
-
- # add udev rule
- install -Dm644 "$srcdir/70-btrfs.rules" "$pkgdir/usr/lib/udev/rules.d/70-btrfs.rules"
-
- # 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=('d9c96e670fac7c2098a9e7ef98d4b2e2'
- '345c62c8b267082361729ca5b647518f'
- 'e5186ec3fe8a809b7473470128d1c4ab'
+ '2d3df276f80bb09813f56a56d6f93ddd'
'9fb35142755b477a96cb7292f3d64839')