# Contributor: Roland Kammerer # Maintainer: Roland Kammerer _usname=drbdmanage pkgname=$_usname pkgver=0.92 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 py-gobject drbd-utils>=8.9.6" 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="c73c2eed043748688c267573562316e5 drbdmanage-0.92.tar.gz 24c95b3312a4ee69e7225bdb0e19b4ed rm-systemd-and-bash.patch" sha256sums="d23dd5dbeabc376e7313b23c3094a9d275415dd9b8b3386e91f3a32bc13cd348 drbdmanage-0.92.tar.gz 14bc5ac238ccd56794f24f21ed5bbe2d957edb725b4cb0889d1f539e4c187e23 rm-systemd-and-bash.patch" sha512sums="e05ebfb0741bf4e83d5b5c13ea5c428d7452fbfb54fea8230ee8ff7495e74b75a94dce227cbae613c51987ddc6bda975ad539bfbf6cc0088f1b764c6d3cb620f drbdmanage-0.92.tar.gz ca8108c2a46b6cac54bc0b811547107329d34f58462075010d5af7c7b0c3cdbf58061e80057b54f095f0dedde54b3b8cb99b5b0aab21960e7c0d47b01528037e rm-systemd-and-bash.patch"