aports/community/hyprland-protocols/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

31 lines
858 B
Text

# Contributor: Zach DeCook <zachdecook@librem.one>
maintainer="Zach DeCook <zachdecook@librem.one>"
pkgname=hyprland-protocols
pkgver=0.6.4
pkgrel=0
pkgdesc="Wayland protocol extensions for Hyprland"
url="https://github.com/hyprwm/hyprland-protocols"
arch="noarch"
license="BSD-3-Clause"
source="https://github.com/hyprwm/hyprland-protocols/archive/v$pkgver/hyprland-protocols-v$pkgver.tar.gz"
makedepends="meson"
subpackages="$pkgname-doc"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
81de4cdfc3123387dbcbaa588ea3b160977f318dfe07646c923e0401d5143318f6939a1636060fc2954270c9817ef89a0f415117cbdadce6ab4d212df1949bae hyprland-protocols-v0.6.4.tar.gz
"