aports/testing/chimerautils/APKBUILD
Sertonix 5250c94ac2 testing/chimerautils: new aport
Is usefull for portability tests. It's not meant to be usable as
replacment for busybox.
2025-05-25 23:14:55 +00:00

52 lines
1.1 KiB
Text

# Maintainer: Sertonix <sertonix@posteo.net>
pkgname=chimerautils
pkgver=14.2.1
pkgrel=0
pkgdesc="Chimera's core userland, based on FreeBSD"
arch="all"
url="https://github.com/chimera-linux/chimerautils"
license="BSD-2-Clause"
subpackages="
$pkgname-dbg
"
makedepends="
acl-dev
bison
bsd-compat-headers
bzip2-dev
flex
libedit-dev
libxo-dev
linux-headers
meson
ncurses-dev
openssl-dev
xz-dev
zlib-dev
zstd-dev
"
source="chimerautils-$pkgver.tar.gz::https://github.com/chimera-linux/chimerautils/archive/refs/tags/v$pkgver.tar.gz"
# no tests
options="!check"
build() {
abuild-meson \
--auto-features=disabled \
--bindir=/usr/lib/$pkgname/bin \
--sbindir=/usr/lib/$pkgname/sbin \
--libexecdir=/usr/lib/$pkgname \
-Dinstall-lib=false \
output
# -Dchimera_realpath=enabled \
ninja -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
# Conflicts with other packages
rm -r "$pkgdir"/usr/share/man
}
sha512sums="
3001e6725c94b2617911bb2470d3bbb64dd53cf4a7ffb0af54ec8fb7d9edd7e1ec670a683af648f5c84d85cbb2a0dc39137f59c6cd00dfc84a3677c42c14b2bf chimerautils-14.2.1.tar.gz
"