[arch-commits] Commit in drbd-utils/trunk (PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Tue Jul 28 21:53:35 UTC 2015
Date: Tuesday, July 28, 2015 @ 23:53:35
Author: seblu
Revision: 137577
upgpkg: drbd-utils 8.9.3-2
- fix modules-load.d name
Modified:
drbd-utils/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-07-28 21:37:57 UTC (rev 137576)
+++ PKGBUILD 2015-07-28 21:53:35 UTC (rev 137577)
@@ -3,7 +3,7 @@
pkgname=drbd-utils
pkgver=8.9.3
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
pkgdesc='Userland tools for Distributed Replicated Block Device'
url='http://www.drbd.org'
@@ -41,11 +41,10 @@
}
package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- cd "$pkgdir"
+ make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
# move /lib files under /usr/lib
+ cd "$pkgdir"
mv lib/drbd/* usr/lib/drbd
rmdir lib/drbd lib
@@ -57,8 +56,8 @@
rmdir var/lock
# autoload module
- install -Dm 644 /dev/null usr/lib/modules-load.d/$pkgname.conf
- echo 'drbd' > usr/lib/modules-load.d/$pkgname.conf
+ install -Dm 644 /dev/null usr/lib/modules-load.d/drbd.conf
+ echo 'drbd' > usr/lib/modules-load.d/drbd.conf
}
More information about the arch-commits
mailing list