Date: Sunday, January 13, 2019 @ 22:40:24 Author: coderobe Revision: 423027
Adopt multipath-tools from AUR Added: multipath-tools/ multipath-tools/repos/ multipath-tools/trunk/ multipath-tools/trunk/PKGBUILD ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Added: multipath-tools/trunk/PKGBUILD =================================================================== --- multipath-tools/trunk/PKGBUILD (rev 0) +++ multipath-tools/trunk/PKGBUILD 2019-01-13 22:40:24 UTC (rev 423027) @@ -0,0 +1,42 @@ +# Maintainer: Robin Broda <[email protected]> +# Contributor: Michael Lass <[email protected]> +# Contributor: Justin Dray <[email protected]> +# Contributor: Patrick McCarty <pnorcks at gmail dot com> +# Contributor: Bartłomiej Piotrowski <[email protected]> +# Contributor: Thomas S Hatch <thatch45 ar gmail dot com> +# Contributor: Michael P <[email protected]> +# Contributor: Matt Heagney <[email protected]> + +pkgname=multipath-tools +pkgver=0.7.9 +pkgrel=1 +pkgdesc='Multipath tools for Linux (including kpartx)' +arch=('x86_64') +url='http://christophe.varoqui.free.fr/' +license=('GPL2') +depends=('libaio' 'device-mapper' 'json-c' 'liburcu' 'ceph' 'libsystemd') +makedepends=('git') +source=("multipath-tools::git+https://git.opensvc.com/multipath-tools/.git#tag=${pkgver}") +sha256sums=('SKIP') + +prepare() { + cd "${pkgname}" + + # Fix bindir in Makefile + sed -i 's|$(exec_prefix)/sbin|$(exec_prefix)/bin|g' Makefile.inc +} + +build() { + cd "${pkgname}" + + make +} + +package() { + cd "${pkgname}" + + make DESTDIR="${pkgdir}" \ + exec_prefix="/usr" \ + LIB="/usr/lib" \ + install +}
