pmaports/temp/xkeyboard-config/APKBUILD

35 lines
1.3 KiB
Text
Raw Normal View History

# Forked from Alpine, so we can extend the keyboard layouts
pkgname=xkeyboard-config
pkgver=9999
_pkgver=2.35.1
pkgrel=5
pkgdesc="X keyboard configuration files"
url="http://www.freedesktop.org/wiki/Software/XKeyboardConfig"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
makedepends="meson perl libxslt"
source="$pkgname-$_pkgver.tar.gz::https://github.com/freedesktop/xkeyboard-config/archive/refs/tags/xkeyboard-config-$_pkgver.tar.gz
0001-Add-model-for-Pine64-PinePhone-keyboard.patch
0002-Add-evdev-rule-for-Pine64-PinePhone-keyboard.patch
"
builddir="$srcdir/xkeyboard-config-xkeyboard-config-$_pkgver"
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
2016e126dd807c07cdec045089a83b5b8c2e6eac8255a80c4e5976a0defc7ad55144186457a3109765f3bfb775270296d980366fee3826ee0e3bcd957e60aa5b xkeyboard-config-2.35.1.tar.gz
363ac31d24d419d66be51ea22564864813c9b982779181d804707b1c3ee9507846c5061f6cf006af92faa0c0f17e39f50798baedc7d7d2ed3a69386d13602b39 0001-Add-model-for-Pine64-PinePhone-keyboard.patch
1119257dbcaa14f005b95275a1e20e27eea70e6be09db2b2f4adf1092325eb044ac2ce02773cfcd3cedee46f50c9898e63a967d5e9b4bf538e4a993663d4bcd8 0002-Add-evdev-rule-for-Pine64-PinePhone-keyboard.patch
"