summaryrefslogtreecommitdiff
path: root/community/drbd/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-06 15:15:42 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-06 15:15:42 +0100
commit9437cdbc03cb103235fa0b043f4cf73882f10f34 (patch)
tree5dba8834685e18222c996b3cd4c728958ed3a49b /community/drbd/PKGBUILD
parent7cfa9860fb15a4bf5066e33255da1a9b09cc95b1 (diff)
parenta110e74fe4a31aebb09e0da6e407af69ed996837 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/drbd/PKGBUILD community/dumb/PKGBUILD community/echat/PKGBUILD community/librcc/PKGBUILD community/linux-tools/PKGBUILD community/python2-pysqlite-legacy/PKGBUILD community/python2-pyxmpp/PKGBUILD core/libksba/PKGBUILD core/ncurses/PKGBUILD extra/libbonobo/PKGBUILD extra/libmpeg2/PKGBUILD extra/qt/PKGBUILD extra/rarian/PKGBUILD extra/wpa_supplicant_gui/PKGBUILD libre/audacious-plugins-libre/PKGBUILD
Diffstat (limited to 'community/drbd/PKGBUILD')
-rw-r--r--community/drbd/PKGBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/community/drbd/PKGBUILD b/community/drbd/PKGBUILD
index f90419cb6..c6968ad89 100644
--- a/community/drbd/PKGBUILD
+++ b/community/drbd/PKGBUILD
@@ -1,20 +1,18 @@
-# $Id: PKGBUILD 75667 2012-08-28 14:04:52Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# $Id: PKGBUILD 83703 2013-02-04 14:42:03Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
pkgname=drbd
pkgver=8.3.13
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Userland tools for Distributed Replicated Block Device'
url='http://www.drbd.org'
license=('GPL2')
depends=('perl' 'bash')
source=("http://oss.linbit.com/drbd/8.3/$pkgname-$pkgver.tar.gz"
- "$pkgname.rc"
"$pkgname.service")
backup=('etc/drbd.conf' 'etc/drbd.d/global_common.conf')
md5sums=('760a25459ef6b7262a2a3572c1561c5b'
- '8902a2f7aca6245c27e9566a1509312c'
'afbb345094db49b0a474c0b4e51c0acd')
build() {
@@ -56,12 +54,9 @@ package() {
# autoload module
install -Dm 644 /dev/null usr/lib/modules-load.d/$pkgname.conf
echo 'drbd' > usr/lib/modules-load.d/$pkgname.conf
- # setup initscript (replace)
- cd "$srcdir"
- install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname"
- # install systemd stuff
- install -Dm 644 $pkgname.service \
+ # systemd
+ install -Dm 644 "$srcdir/$pkgname.service" \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
}
-# vim:set ts=2 sw=2 ft=sh et:
+# vim:set ts=2 sw=2 et: