blob: 26c6026db03095c0ff27e7881a92b185c95a5751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: gls <ghostlovescorebg at gmail dot com>
pkgname=ha-pacemaker-git
_realname=pacemaker
pkgver=Pacemaker.1.1.7.4159.g622f276
pkgrel=2
pkgdesc="Pacemaker is an cluster resource manager"
arch=('i686' 'x86_64')
url="http://linux-ha.org/wiki/Pacemaker"
license=('GPL')
makedepends=('libqb' 'corosync')
#depends=('ha-resourceagent' 'ha-heartbeat' 'libxslt' 'libqb' 'corosync')
depends=('libxslt' 'libqb' 'corosync')
source=("git://github.com/ClusterLabs/pacemaker.git"
"pacemaker.service")
options=('!libtool' 'docs' 'strip')
md5sums=('SKIP'
'32b94b2ed9a8b4062cebc042cd402ce3')
pkgver() {
cd ${srcdir}/${_realname}
git describe | sed 's/-/./g'
}
build() {
cd $srcdir/pacemaker
./autogen.sh
./configure --bindir=/usr/bin --sbindir=/usr/bin
sed -i 's/\-Werror//g' Makefile configure configure.ac
make
}
package() {
cd ${srcdir}/${_realname}
make PREFIX=/usr DESTDIR="$pkgdir" install
cp ${srcdir}/pacemaker.service ${pkgdir}/usr/lib/systemd/system/
}
|