aports/testing/libtsm/APKBUILD
Milan P. Stanić 52d1c60bfa testing/libtsm: upgrade to 4.3.0
upstram build is changed to meson
remove gcc14.patch, fixed upstream
2026-01-08 23:22:54 +00:00

36 lines
883 B
Plaintext

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=libtsm
pkgver=4.3.0
pkgrel=0
pkgdesc="Terminal-emulator State Machine"
url="https://github.com/Aetf/libtsm"
arch="all"
license="MIT AND BSD-2-Clause"
makedepends="meson samurai libxkbcommon-dev"
checkdepends="check-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/Aetf/libtsm/archive/refs/tags/v$pkgver.tar.gz
"
build() {
abuild-meson \
-Db_lto=true \
-Dtests="$(want_check && echo true || echo false)" \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
9268e20a1c515fc588f7464860d3bef1b8606366a85578b5c6cc0e2682b602332a3a75fbd4625ec255d2cbe5ee93dbcea01323e715eb4e1f4ce5353df22b27dd libtsm-4.3.0.tar.gz
"