summaryrefslogtreecommitdiff
path: root/community/multipath-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/multipath-tools/PKGBUILD')
-rw-r--r--community/multipath-tools/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/multipath-tools/PKGBUILD b/community/multipath-tools/PKGBUILD
index 542e6df3e..cdea88434 100644
--- a/community/multipath-tools/PKGBUILD
+++ b/community/multipath-tools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 80194 2012-11-17 14:32:27Z bpiotrowski $
+# $Id: PKGBUILD 81789 2012-12-30 08:24:14Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas S Hatch <thatch45 ar gmail dot com>
# Contributor: Michael P <ptchinster@archlinux.us>
@@ -6,7 +6,7 @@
pkgname=multipath-tools
pkgver=0.4.9
-pkgrel=11
+pkgrel=12
pkgdesc='Multipath tools for Linux'
arch=('i686' 'x86_64')
url="http://christophe.varoqui.free.fr/"
@@ -14,7 +14,7 @@ license=('GPL')
depends=('bash' 'libaio' 'device-mapper')
backup=('etc/multipath.conf' 'etc/multipath.conf.annotated')
install=multipath-tools.install
-options=(!emptydirs !strip)
+options=(!emptydirs)
source=(http://christophe.varoqui.free.fr/multipath-tools/$pkgname-$pkgver.tar.bz2
rc.d service multipath.conf multipath.conf.annotated
fix-build.patch buffer-overflows.patch log_enquery_overflow.patch
@@ -45,11 +45,15 @@ build() {
}
package() {
- make LIB='usr/lib' DESTDIR="$pkgdir" bindir='/usr/bin' libudevdir='/usr/lib/udev' install
+ make LIB='usr/lib' \
+ DESTDIR="$pkgdir" \
+ bindir='/usr/bin' \
+ libudevdir='/usr/lib/udev' install
+
install -Dm644 multipath.conf "$pkgdir"/etc/multipath.conf
install -Dm644 multipath.conf.annotated "$pkgdir"/etc/multipath.conf.annotated
install -Dm755 rc.d "$pkgdir"/etc/rc.d/multipathd
install -Dm644 service "$pkgdir"/usr/lib/systemd/system/multipathd.service
- find $pkgdir -type f -exec sed 's/sbin/bin/g' -i {} \;
+ sed -i 's/sbin/bin/g' "$pkgdir"/usr/lib/udev/rules.d/*.rules
}