Date: Sunday, March 10, 2019 @ 03:17:18
  Author: coderobe
Revision: 438901

archrelease: copy trunk to extra-x86_64

Added:
  multipath-tools/repos/extra-x86_64/
  multipath-tools/repos/extra-x86_64/PKGBUILD
    (from rev 438900, multipath-tools/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: multipath-tools/repos/extra-x86_64/PKGBUILD (from rev 438900, 
multipath-tools/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD                               (rev 0)
+++ extra-x86_64/PKGBUILD       2019-03-10 03:17:18 UTC (rev 438901)
@@ -0,0 +1,45 @@
+# Maintainer: Robin Broda <ro...@broda.me>
+# Contributor: Michael Lass <be...@bi-co.net>
+# Contributor: Justin Dray <jus...@dray.be>
+# Contributor: Patrick McCarty <pnorcks at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <nos...@bpiotrowski.pl>
+# Contributor: Thomas S Hatch <thatch45 ar gmail dot com>
+# Contributor: Michael P <ptchins...@archlinux.us>
+# Contributor: Matt Heagney <m...@heagney.com>
+
+pkgname=multipath-tools
+pkgver=0.8.0
+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-libs' 
'systemd-libs')
+makedepends=('git')
+source=("multipath-tools::git+https://git.opensvc.com/multipath-tools/.git#tag=${pkgver}";)
+sha256sums=('SKIP')
+
+prepare() {
+  cd "${pkgname}"
+
+  # Fix systemd version detection in Makefile
+  sed -i 's/sed -n .*$/head -n1 | cut -d" " -f2\)/g' Makefile.inc
+
+  # 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
+}

Reply via email to