blob: 0f8b7b26367237f000214ba2199fb763d682e3ba (
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.95
pkgrel=0
pkgdesc="DRBD9 Cluster Management Tool"
url="http://www.drbd.org"
arch="noarch"
license="GPL"
depends="python py-gobject dbus py-dbus lvm2 drbd-utils>=8.9.6"
depends_dev=""
makedepends="python-dev libxslt docbook-xsl help2man"
install=""
subpackages="$pkgname-doc"
source="http://oss.linbit.com/$_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"
python setup.py build_man || return 1
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="2598d5c451012223aaedbbf18ff985f3 drbdmanage-0.95.tar.gz
24c95b3312a4ee69e7225bdb0e19b4ed rm-systemd-and-bash.patch"
sha256sums="bc65f85fe26349961052588fe27743de93123c61aec466390d81bfd8b6f40f49 drbdmanage-0.95.tar.gz
14bc5ac238ccd56794f24f21ed5bbe2d957edb725b4cb0889d1f539e4c187e23 rm-systemd-and-bash.patch"
sha512sums="61d82c611a64d0d1805bb7419496fe2a7731c36164608d5c8a47bed251ad504a70559a73e7953b3c5d25eb05c707efdc1417a398a2b7486cfbe78ea3111af43b drbdmanage-0.95.tar.gz
ca8108c2a46b6cac54bc0b811547107329d34f58462075010d5af7c7b0c3cdbf58061e80057b54f095f0dedde54b3b8cb99b5b0aab21960e7c0d47b01528037e rm-systemd-and-bash.patch"
|