From f503701b04bfc3fbec13acce2abfa9e8df56d2c0 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 31 Dec 2012 01:32:52 -0800 Subject: Mon Dec 31 01:32:43 PST 2012 --- community/multipath-tools/PKGBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'community/multipath-tools') 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 # Contributor: Thomas S Hatch # Contributor: Michael P @@ -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 } -- cgit v1.2.3-54-g00ecf