diff options
author | root <root@rshg054.dnsready.net> | 2012-12-31 01:32:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-31 01:32:52 -0800 |
commit | f503701b04bfc3fbec13acce2abfa9e8df56d2c0 (patch) | |
tree | 33bd1091aa34d345417508caf21775abea68437c /community/multipath-tools | |
parent | 0af0753417e7e506da08650bda80804d0b50e660 (diff) |
Mon Dec 31 01:32:43 PST 2012
Diffstat (limited to 'community/multipath-tools')
-rw-r--r-- | community/multipath-tools/PKGBUILD | 14 |
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 } |