blob: b38548f60106b57a6f78cefa7c160709675a5fa0 (
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
43
44
45
46
|
# Contributor: Roland Kammerer <roland.kammerer@linbit.com>
# Maintainer: Roland Kammerer <roland.kammerer@linbit.com>
_usname=drbdmanage
pkgname=$_usname
pkgver=0.98.2
pkgrel=0
pkgdesc="DRBD9 Cluster Management Tool"
url="http://www.drbd.org"
arch="noarch"
license="GPL"
depends="python2 py-gobject dbus py-dbus lvm2 drbd-utils>=8.9.9"
depends_dev=""
makedepends="python2-dev libxslt docbook-xsl help2man"
install=""
subpackages="$pkgname-doc"
source="https://www.drbd.org/download/$_usname/$_usname-$pkgver.tar.gz
rm-systemd-and-bash.patch"
_builddir=$srcdir/$_usname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python2 setup.py build_man || return 1
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="82f03e5a76d70f97ab398c3340ce1c94 drbdmanage-0.98.2.tar.gz
b6df3b5eecf44b750fd0ffc9580deed2 rm-systemd-and-bash.patch"
sha256sums="f432eb1b701d2b024f3c85771b1a717a82c34451f17d884aec78dd94581d3749 drbdmanage-0.98.2.tar.gz
c8978bcc3c42115a0de5cf49942977096159b4157a391652a52fba0cd8c852a1 rm-systemd-and-bash.patch"
sha512sums="70dc6946fa023f4c3092113e97c603ec2da5b07064372a35e91ec00a3f50d203fd4d0af859c043f4cef6946e4ff5ac3aa44aac8ebf666094d931ea688fd2be2c drbdmanage-0.98.2.tar.gz
ad3c18c6fc56df0ca594afb56accb8832509489234736098c6a40b4ed2f81be16efe2c552ae6e19375d44881cf24e534d2d8cc04e14f0d98817fd8d4c614ed99 rm-systemd-and-bash.patch"
|