Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Tim Meusel <tim@bastelfreak.de>
pkgname=crmsh
pkgver=2.2.1
pkgrel=2
pkgdesc="Command-line interface for high-availability cluster management on GNU/Linux systems"
arch=('any')
url="https://github.com/ClusterLabs/${pkgname}/"
license=('GPL2')
makedepends=('asciidoc')
depends=('python2' 'gawk' 'python2-lxml')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ClusterLabs/$pkgname/archive/$pkgver.tar.gz")
md5sums=('81f8e4595fa53f9f220a7500e3759e6c')
prepare() {
cd ${pkgname}-${pkgver}
./autogen.sh
}
build() {
cd ${pkgname}-${pkgver}
PYTHON=python2 ./configure --prefix=/usr \
--libdir=/usr/lib \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--localstatedir=/var
make V=0
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
sed -i 's#python#python2#' "${pkgdir}/usr/bin/crm"
}
# vim: set sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.