aboutsummaryrefslogblamecommitdiffstats
path: root/community/drbdmanage/APKBUILD
blob: a88cf48fc056ca19bf0b519ff53dd797726dece1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                           
                
              




                                       
                                                                
              
                                                      

                          
                                                                         
                                  













                                                                        

                                              



                       
                                                                           

 
                                                                                                                                                                       
                                                                                                                                                            
# Contributor: Roland Kammerer <roland.kammerer@linbit.com>
# Maintainer: Roland Kammerer <roland.kammerer@linbit.com>
_usname=drbdmanage
pkgname=$_usname
pkgver=0.99.14
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>=9.0.0"
depends_dev=""
makedepends="python2-dev libxslt docbook-xsl help2man"
install=""
subpackages="$pkgname-doc"
source="https://links.linbit.com/sources/$_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
}

sha512sums="a62f6e6264328a18a22f94d3fa6902295c08d396c880ead1d134d54a22b083266a113d58b8a0c91b82a8a64f65c79c288c169c22d2548f9b3687330fd3f4965a  drbdmanage-0.99.14.tar.gz
ad3c18c6fc56df0ca594afb56accb8832509489234736098c6a40b4ed2f81be16efe2c552ae6e19375d44881cf24e534d2d8cc04e14f0d98817fd8d4c614ed99  rm-systemd-and-bash.patch"