mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-11 11:18:54 +02:00
49 lines
1 KiB
Text
49 lines
1 KiB
Text
# Contributor: Angelo Verlain <hey@vixalien.com>
|
|
maintainer="Angelo Verlain <hey@vixalien.com>"
|
|
pkgname=66-tools
|
|
pkgver=0.1.2.0
|
|
pkgrel=0
|
|
pkgdesc="Small tools and helpers for service scripts execution"
|
|
url="https://web.obarun.org/software"
|
|
arch="all"
|
|
license="ISC"
|
|
makedepends="
|
|
66-dev
|
|
execline-dev
|
|
lowdown
|
|
meson
|
|
oblibs-dev
|
|
s6-dev
|
|
skalibs-dev
|
|
"
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-nsrules"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.obarun.org/Obarun/66-tools/-/archive/$pkgver/66-tools-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Denable-static=true \
|
|
-Dtest=true \
|
|
-Dwith-doc=true \
|
|
output .
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
nsrules() {
|
|
pkgdesc="$pkgdesc (66-ns rules)"
|
|
depends="$pkgname"
|
|
arch="noarch"
|
|
|
|
amove usr/share/66/script/ns
|
|
}
|
|
|
|
sha512sums="
|
|
aa79ed23dd8462b3e147302222cccd969ac3cdf833ce4bffff0eb9f0408b53faa88a3801b557c056a7137c7312b57f46a8af3ce8561bec6ec45eb56fe2917f15 66-tools-0.1.2.0.tar.gz
|
|
"
|