mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-10 08:12:35 +02:00
samurai already reads SAMUFLAGS set to job count so this is redundant same for MAKEFLAGS and make
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=piper
|
|
pkgver=0.7
|
|
pkgrel=2
|
|
pkgdesc="GTK+ application to configure gaming mice using ratbag"
|
|
url="https://github.com/libratbag/piper"
|
|
arch="noarch"
|
|
license="GPL-2.0-only"
|
|
depends="python3 py3-evdev py3-cairo py3-lxml py3-gobject3 ratbag"
|
|
makedepends="meson gettext glib-dev"
|
|
checkdepends="appstream py3-flake8 bash"
|
|
subpackages="$pkgname-lang $pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/libratbag/piper/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Druntime-dependency-checks=false \
|
|
-Dtests="$(want_check && echo true || echo false)" \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
fcbc30a4954ea6b0aa67c66052eab1e6b2d3039c927eeddcfc8b03d00f1c91e8f0ae80788ba0e4f053a612b03f594e74fd119dd11f52dd47608c99602e7e4940 piper-0.7.tar.gz
|
|
"
|