mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
35 lines
901 B
Text
35 lines
901 B
Text
# Maintainer: Miles Alan <m@milesalan.com>
|
|
pkgname=limkd
|
|
pkgver=0.1.2
|
|
pkgrel=0
|
|
pkgdesc="Libinput multipress key daemon"
|
|
url="https://git.sr.ht/~mil/limkd"
|
|
arch="aarch64 x86_64" # Limited by zig aport
|
|
license="GPL-3.0-or-later"
|
|
makedepends="
|
|
libinput-dev
|
|
libevdev-dev
|
|
zig
|
|
"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/limkd/archive/$pkgver.tar.gz
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
|
|
# We may want other than "baseline" for other targets, when enabled by zig
|
|
case "$CARCH" in
|
|
aarch64|x86_64) cputarget=baseline ;;
|
|
esac
|
|
|
|
build() {
|
|
zig build -Drelease-safe=true ${cputarget:+-Dcpu="$cputarget"}
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 zig-out/bin/limkd -t "$pkgdir/usr/bin/"
|
|
install -Dm644 limkd.1 -t "$pkgdir/usr/share/man/man1/"
|
|
}
|
|
|
|
sha512sums="
|
|
2b4bdfef19759e12607e125318d4fbb45b0ea897c81c0d45a6f67d262c2225ed02bc785276a3ce5c8051b33ab9d0b6d6c20b928d136d08fec226e9d7c82756ab limkd-0.1.2.tar.gz
|
|
"
|