# Maintainer: Leonardo Arena pkgname=multipath-tools pkgver=0.9.5 pkgrel=1 pkgdesc="Device Mapper Multipathing Driver" url="http://christophe.varoqui.free.fr/" arch="all" license="LGPL-2.0-only" depends="eudev device-mapper" makedepends=" eudev-dev json-c-dev libaio-dev lvm2-dev ncurses-dev perl readline-dev userspace-rcu-dev util-linux-dev " subpackages="$pkgname-doc $pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/opensvc/multipath-tools/archive/refs/tags/$pkgver.tar.gz multipath-tools.conf multipath.initd multipathd.initd 0001-Disable-Werror-and-O2.patch " options="!check" build() { make prefix="/usr" \ sysconfdir="/etc" \ configdir="/etc/multipath/conf.d" \ mandir="/usr/share/man" \ infodir="/usr/share/info" } package() { make prefix="/usr" SYSTEMDPATH="/lib" LIB=lib DESTDIR="$pkgdir" install install -D -m644 "$srcdir"/$pkgname.conf \ "$pkgdir"/etc/multipath.conf install -D -m755 "$srcdir"/multipathd.initd \ "$pkgdir"/etc/init.d/multipathd install -D -m755 "$srcdir"/multipath.initd \ "$pkgdir"/etc/init.d/multipath install -D -m644 README.md \ "$pkgdir"/usr/share/doc/$pkgname/README.md } sha512sums=" 39c2e5d45542c6076eb3b17b9994629b4c1f74347aa43e0119001fa2d07d3a606fd5e617962906a11b313afb37a115bd8eec2ef24447e980e61b5900625f9146 multipath-tools-0.9.5.tar.gz e81462b22c0cbc92ea935d7544b9f9a0c4ccbcf13f3bc03dadf6de96407c9cf49964c9bbf02f12a134e1255c66421c6fde39d54b15eef975e8df81bdc88b2213 multipath-tools.conf 97deeee57daee787d807da0a4dbf50baae047ddcda30925f7000ec822b5a17a3dc55196c3e032c8ffbc2caeac690ce5ca485b0a7c99f15e66bddaa000439112a multipath.initd 71933b27a9ed76d00766ee29e0583ccf08bd689805cf77e284bc318bae62ad7bcde1894b2e50993019462b0c9787eaa780b271244ff11ef52cca290604900343 multipathd.initd f5699633be498cc78ed27c222334b9e5c7271b852f9e687991e425a27db74cd9c01198792fe5fc7f5dedf47fee9b577e8c4803f5b0323b10544f3678d5c6c714 0001-Disable-Werror-and-O2.patch "