2025-05-29 03:15:10 +00:00

44 lines
1.3 KiB
Plaintext

# Contributor: Jae Arr <alpine.unbent366@passinbox.com>
# Maintainer: Jae Arr <alpine.unbent366@passinbox.com>
pkgname=corosync
pkgver=3.1.9
pkgrel=0
pkgdesc="Corosync cluster engine"
url="https://corosync.github.io/corosync/"
arch="all"
license="GPL-3.0-or-later"
makedepends="
libqb-dev
kronosnet-dev
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://github.com/corosync/corosync/releases/download/v$pkgver/corosync-$pkgver.tar.gz
corosync.initd
corosync-notifyd.initd"
prepare() {
default_prepare
update_config_guess
}
build() {
./configure --prefix=/usr --datarootdir=/usr/share --localstatedir=/var --sysconfdir=/etc
make
}
check() {
make check
}
package() {
make install DESTDIR="$pkgdir"
install -Dm755 "$srcdir"/corosync.initd "$pkgdir"/etc/init.d/corosync
install -Dm755 "$srcdir"/corosync-notifyd.initd "$pkgdir"/etc/init.d/corosync-notifyd
}
sha512sums="
d5332c65535dd40e3bee48912ebf2e71c55380b3dba93c36ff8b74090edf3ec44b69685cd11fda3732e4b0dab0b2954f08be94d772fcff6aaf9a4a846ef2e4cc corosync-3.1.9.tar.gz
4e12b0dd552f6f09512019d01aa2f0984fb109020eb14cc686fdc96fb04e0507fb96bf9d6c6d3bbdbfd4eb2eaec72cb1fd396122bf663504fd29db962c81dd4b corosync.initd
0f04ffa08b1a1d976adc60c7414bb6cf73b72595f40da4ba5ffda0f723d11dfa26c3c8bec532e1a38518649a179636a4e74b6deff7b8915470342f640f3f8183 corosync-notifyd.initd
"