[arch-commits] Commit in mdadm/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 8 20:27:35 UTC 2019
Date: Tuesday, October 8, 2019 @ 20:27:34
Author: arojas
Revision: 364195
Fix quoting
Modified:
mdadm/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-08 20:26:47 UTC (rev 364194)
+++ PKGBUILD 2019-10-08 20:27:34 UTC (rev 364195)
@@ -20,16 +20,17 @@
'SKIP'
'5a37c112aa07dccdde62f9fa5b888607'
'b6b0bfd6487c99264578630616dfe5eb')
+
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
make CXFLAGS="$CFLAGS" BINDIR=/usr/bin UDEVDIR=/usr/lib/udev
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make INSTALL=/usr/bin/install BINDIR=/usr/bin DESTDIR=$pkgdir UDEVDIR=/usr/lib/udev install
- make SYSTEMD_DIR=$pkgdir/usr/lib/systemd/system install-systemd
- install -D -m644 ../mdadm.conf $pkgdir/etc/mdadm.conf
- install -D -m644 ../mdadm_udev_install $pkgdir/usr/lib/initcpio/install/mdadm_udev
- ln -s /usr/lib/initcpio/install/mdadm_udev $pkgdir/usr/lib/initcpio/install/mdadm
+ cd $pkgname-$pkgver
+ make INSTALL=/usr/bin/install BINDIR=/usr/bin DESTDIR="$pkgdir" UDEVDIR=/usr/lib/udev install
+ make SYSTEMD_DIR="$pkgdir"/usr/lib/systemd/system install-systemd
+ install -D -m644 ../mdadm.conf "$pkgdir"/etc/mdadm.conf
+ install -D -m644 ../mdadm_udev_install "$pkgdir"/usr/lib/initcpio/install/mdadm_udev
+ ln -s /usr/lib/initcpio/install/mdadm_udev "$pkgdir"/usr/lib/initcpio/install/mdadm
}
More information about the arch-commits
mailing list