summaryrefslogtreecommitdiff
path: root/testing/mdadm/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-04 00:01:57 +0000
committerroot <root@rshg054.dnsready.net>2012-05-04 00:01:57 +0000
commit0a24fb835cac4007388213ad0afb15257b035b14 (patch)
tree799a160f6daeb40ccbb6f1d06e7ef3ea0caaf660 /testing/mdadm/PKGBUILD
parent5520a8b04cecf4af812cbf2285e9ab6efabe147f (diff)
Fri May 4 00:01:56 UTC 2012
Diffstat (limited to 'testing/mdadm/PKGBUILD')
-rw-r--r--testing/mdadm/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/testing/mdadm/PKGBUILD b/testing/mdadm/PKGBUILD
index a66113877..0749f8128 100644
--- a/testing/mdadm/PKGBUILD
+++ b/testing/mdadm/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 156533 2012-04-20 16:54:05Z tpowa $
+# $Id: PKGBUILD 158073 2012-05-02 12:16:04Z tomegun $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=mdadm
pkgver=3.2.3
-pkgrel=2
+pkgrel=3
pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID"
arch=(i686 x86_64)
license=('GPL')
@@ -19,16 +19,7 @@ source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2
mdadm_hook
mdadm_udev_install
disable-werror.patch)
-
-install=mdadm.install
replaces=('raidtools')
-md5sums=('d789d6ecb9c1d5ebcc64f0fc52bca92f'
- '6df172c8f77b280018cf87eb3d313f29'
- '00cbed931db4f15b6ce49e3e7d433966'
- '9b01e96b6c3c218fb61628c9281fe688'
- 'c8c0713f5c7da51822ee6f3911473a1c'
- 'cd258e1bf430c02a25f40b4329df9f57'
- '4ad87b74a4bc9a34621280abe0e0c3e4')
build() {
cd $srcdir/$pkgname-$pkgver
@@ -50,4 +41,14 @@ package() {
install -D -m644 ../mdadm_udev_install $pkgdir/usr/lib/initcpio/install/mdadm_udev
# symlink for backward compatibility
ln -sf /usr/lib/initcpio/hooks/mdadm $pkgdir/usr/lib/initcpio/hooks/raid
+ # move /lib/* to /usr/lib/
+ mv $pkgdir/lib/udev $pkgdir/usr/lib/
+ rm -rf $pkgdir/lib
}
+md5sums=('d789d6ecb9c1d5ebcc64f0fc52bca92f'
+ '8333d405f550317c2bacd5510bf1cb60'
+ '00cbed931db4f15b6ce49e3e7d433966'
+ '9b01e96b6c3c218fb61628c9281fe688'
+ 'fbb5542d9bdf87441a11dd7e7a0a17f8'
+ '2318b99701dba9b01a6891c62be7bc1c'
+ '4ad87b74a4bc9a34621280abe0e0c3e4')