Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages /
multipath-tools
Commits:
f8887245 by Christian Hesse at 2023-11-26T11:25:10+01:00
upgpkg: 0.9.7-2: make options to array, fix statedir
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = multipath-tools
pkgdesc = Multipath tools for Linux (including kpartx)
pkgver = 0.9.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/opensvc/multipath-tools
arch = x86_64
license = GPL2
=====================================
PKGBUILD
=====================================
@@ -10,7 +10,7 @@
pkgname=multipath-tools
_tag='6bb7330fca4a85c4f5abab0f9de5bd3519923f0a' # git rev-parse ${pkgver}
pkgver=0.9.7
-pkgrel=1
+pkgrel=2
pkgdesc='Multipath tools for Linux (including kpartx)'
arch=('x86_64')
url='https://github.com/opensvc/multipath-tools'
@@ -20,13 +20,19 @@ makedepends=('git' 'systemd')
source=("multipath-tools::git+https://github.com/opensvc/multipath-tools#tag=${_tag}")
sha256sums=('SKIP')
+_make_opts=(
+ prefix='/usr/'
+ bindir='/usr/bin'
+ statedir='/etc/multipath'
+ LIB='lib'
+)
+
+
build() {
cd "${pkgname}"
make \
- prefix='/usr/' \
- bindir='/usr/bin' \
- LIB='lib' \
+ "${_make_opts[@]}" \
FORTIFY_OPT=''
}
@@ -34,10 +40,8 @@ package() {
cd "${pkgname}"
make -j1 \
+ "${_make_opts[@]}" \
DESTDIR="${pkgdir}" \
- prefix='/usr/' \
- bindir='/usr/bin' \
- LIB='lib' \
install
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README*
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/multipath-tools/-/commit/f88872452742fa018b277cb61c473dd3d198bdbd
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/multipath-tools/-/commit/f88872452742fa018b277cb61c473dd3d198bdbd
You're receiving this email because of your account on gitlab.archlinux.org.