summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2018-05-15 15:27:16 -0600
committerBrian Bidulock2018-05-15 15:27:16 -0600
commit124c5d6a1042a5cdbce9358c164250317ecad327 (patch)
treec7d81bd5db21699570fe5ad56c5f22f354e720be
downloadaur-124c5d6a1042a5cdbce9358c164250317ecad327.tar.gz
initial version
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD47
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9cf1063ca98
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = booth-git
+ pkgdesc = RAFT cluster ticket manager for pacemaker
+ pkgver = 1.0.r141.g72e4793
+ pkgrel = 1
+ url = https://github.com/ClusterLabs/booth/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = pacemaker-git
+ depends = ha-glue
+ optdepends = pcs-git: for cluster shell support
+ optdepends = crmsh-git: for cluster shell support
+ provides = booth
+ conflicts = booth
+ source = booth-git::git+https://github.com/ClusterLabs/booth.git
+ source = pcs.patch::https://patch-diff.githubusercontent.com/raw/ClusterLabs/booth/pull/41.patch
+ sha512sums = SKIP
+ sha512sums = 5b6297c444ef326c59705170717865572812639f8a9c6e23a02b73234ae6edd23b9337b9284fa12ae489f3a599fe538dd92c26db12a011ca0eac09c2b15289cb
+
+pkgname = booth-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4c88886a7be
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+
+pkgname=booth-git
+_pkgname=booth
+pkgver=1.0.r141.g72e4793
+pkgrel=1
+pkgdesc="RAFT cluster ticket manager for pacemaker"
+arch=('i686' 'x86_64')
+url="https://github.com/ClusterLabs/${_pkgname}/"
+license=('GPL2')
+depends=('pacemaker-git' 'ha-glue')
+provides=(${_pkgname})
+conflicts=(${_pkgname})
+optdepends=('pcs-git: for cluster shell support'
+ 'crmsh-git: for cluster shell support')
+makedepends=('git')
+source=("$pkgname::git+https://github.com/ClusterLabs/${_pkgname}.git"
+ "pcs.patch::https://patch-diff.githubusercontent.com/raw/ClusterLabs/$_pkgname/pull/41.patch")
+sha512sums=('SKIP'
+ '5b6297c444ef326c59705170717865572812639f8a9c6e23a02b73234ae6edd23b9337b9284fa12ae489f3a599fe538dd92c26db12a011ca0eac09c2b15289cb')
+
+pkgver() {
+ cd $pkgname
+ git describe --long --tags | sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -b -z .orig <../pcs.patch
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var
+ make V=0
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="${pkgdir}" install
+}