Files
pmaports-rtwo/main/iskey/APKBUILD
T
Achill Gilgenast ecd710af96 */*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00

35 lines
973 B
Bash

maintainer="Casey Connolly <kcxt@postmarketos.org>"
pkgname=iskey
pkgver=1
pkgrel=2
pkgdesc="Tiny tool to check if a key is pressed"
url="https://postmarketos.org"
arch="all"
license="GPL-2.0"
makedepends="meson linux-headers libevdev-dev"
options="!check"
_commit="4bc43d2bbf424ca90e11b3ed0c56e925898a130d"
source="https://gitlab.postmarketos.org/postmarketOS/buffybox/-/archive/$_commit/buffybox-$_commit.tar.gz"
# We're only building the iskey utility
builddir="$srcdir/buffybox-$_commit/iskey"
build() {
abuild-meson . output
meson compile -C output
}
package() {
install -Dm755 output/iskey \
"$pkgdir"/usr/bin/iskey
# Make sure updates to this package trigger mkinitfs
touch iskey
install -Dm644 iskey \
"$pkgdir"/usr/share/mkinitfs-triggers/iskey
}
sha512sums="
d255a04e1c0bb98af579d5bce4fad4e618d39c5d9b5cd78299fc9ae30e33132af0e9d899df5d1754acc8b1ca2ff790dda072b14d1e41993a588537b23ebea032 buffybox-4bc43d2bbf424ca90e11b3ed0c56e925898a130d.tar.gz
"