[arch-commits] Commit in drbd-utils/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Dec 27 12:48:29 UTC 2018
Date: Thursday, December 27, 2018 @ 12:48:28
Author: arojas
Revision: 418494
archrelease: copy trunk to community-x86_64
Added:
drbd-utils/repos/community-x86_64/PKGBUILD
(from rev 418493, drbd-utils/trunk/PKGBUILD)
Deleted:
drbd-utils/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 116 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 57 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-27 12:48:08 UTC (rev 418493)
+++ PKGBUILD 2018-12-27 12:48:28 UTC (rev 418494)
@@ -1,59 +0,0 @@
-# Maintainer: Sébastien Luttringer
-
-pkgname=drbd-utils
-pkgver=9.7.0
-pkgrel=1
-arch=('x86_64')
-pkgdesc='Userland tools for Distributed Replicated Block Device'
-url='https://www.drbd.org'
-license=('GPL2')
-depends=('perl' 'bash')
-makedepends=('libxslt' 'systemd')
-conflicts=('drbd')
-replaces=('drbd')
-source=(http://www.linbit.com/downloads/drbd/utils/drbd-utils-$pkgver.tar.gz)
-backup=('etc/drbd.conf' 'etc/drbd.d/global_common.conf')
-md5sums=('5114f97c9af811b181390a8fa1990d92')
-
-build() {
- cd $pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --sysconfdir=/etc \
- --sbindir=/usr/bin \
- --libdir=/usr/lib \
- --with-distro=generic \
- --with-bashcompletion \
- --with-initscripttype=systemd \
- --with-udev \
- --without-rgmanager \
- --without-pacemaker \
- --without-heartbeat \
- --without-83support \
- --without-xen
- make
-}
-
-package() {
- make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
-
- cd "$pkgdir"
-
- # move /lib files under /usr/lib
- mv lib/drbd/* usr/lib/drbd
- rmdir lib/drbd lib
-
- # move bash completion
- install -dm 755 usr/share/bash-completion
- mv etc/bash_completion.d usr/share/bash-completion/completions
-
- # remove /var/lock
- rmdir var/lock
-
- # autoload module
- install -Dm 644 /dev/null usr/lib/modules-load.d/drbd.conf
- echo 'drbd' > usr/lib/modules-load.d/drbd.conf
-}
-
-# vim:set ts=2 sw=2 et:
Copied: drbd-utils/repos/community-x86_64/PKGBUILD (from rev 418493, drbd-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-27 12:48:28 UTC (rev 418494)
@@ -0,0 +1,57 @@
+# Maintainer: Sébastien Luttringer
+
+pkgname=drbd-utils
+pkgver=9.7.0
+pkgrel=2
+arch=('x86_64')
+pkgdesc='Userland tools for Distributed Replicated Block Device'
+url='https://www.drbd.org'
+license=('GPL2')
+depends=('perl' 'bash')
+makedepends=('libxslt' 'systemd')
+conflicts=('drbd')
+replaces=('drbd')
+source=(http://www.linbit.com/downloads/drbd/utils/drbd-utils-$pkgver.tar.gz)
+backup=('etc/drbd.conf' 'etc/drbd.d/global_common.conf')
+md5sums=('5114f97c9af811b181390a8fa1990d92')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --libdir=/usr/lib \
+ --with-distro=generic \
+ --with-bashcompletion \
+ --with-initscripttype=systemd \
+ --with-udev \
+ --without-rgmanager \
+ --without-pacemaker \
+ --without-heartbeat \
+ --without-83support \
+ --without-xen
+ make
+}
+
+package() {
+ make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+
+ cd "$pkgdir"
+
+ # move /lib files under /usr/lib
+ mv lib/drbd/* usr/lib/drbd
+ rmdir lib/drbd lib
+
+ # move bash completion
+ install -dm 755 usr/share/bash-completion
+ mv etc/bash_completion.d usr/share/bash-completion/completions
+
+ # remove /var/lock and /var/run
+ rm -r var/{lock,run}
+
+ # autoload module
+ 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