mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 04:04:17 +02:00
53 lines
1.2 KiB
Text
53 lines
1.2 KiB
Text
# Contributor: Angelo Verlain <hey@vixalien.com>
|
|
maintainer="Angelo Verlain <hey@vixalien.com>"
|
|
pkgname=66
|
|
pkgver=0.8.2.1
|
|
pkgrel=0
|
|
pkgdesc="a service manager around S6 supervision suite"
|
|
url="https://web.obarun.org/software"
|
|
arch="all"
|
|
license="ISC"
|
|
makedepends="
|
|
execline-dev
|
|
linux-headers
|
|
lowdown-dev
|
|
meson
|
|
oblibs-dev
|
|
s6-dev
|
|
skalibs-dev
|
|
"
|
|
depends="s6"
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-init"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.obarun.org/Obarun/66/-/archive/$pkgver/66-$pkgver.tar.gz"
|
|
install="66.pre-install 66.pre-upgrade"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Denable-static=true \
|
|
-Dtest=true \
|
|
-Ds6-log-timestamp=iso \
|
|
-Ds6-log-user=catchlog \
|
|
-Dwith-doc=true \
|
|
output .
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
init() {
|
|
pkgdesc="$pkgdesc (init script)"
|
|
depends="$pkgname"
|
|
|
|
mkdir -p "$subpkgdir"/sbin
|
|
mv "$pkgdir"/usr/bin/init "$subpkgdir"/sbin/init
|
|
}
|
|
|
|
sha512sums="
|
|
37e9ab17d3ddeb5a8ac0fbf6ef7df6a5f701e41e0fc79109bdb18508c06d32d7c880c2a5c67296292a65fa22519caf73d739c374aa3b10abdb8a4746670247ae 66-0.8.2.1.tar.gz
|
|
"
|