jobextra/xkeyboard-config/PKGBUILD

63 lines
2 KiB
Bash
Raw Normal View History

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=xkeyboard-config
2023-10-09 19:07:53 +02:00
pkgver=2.40
2022-09-06 22:42:56 +02:00
pkgrel=01
pkgdesc="X keyboard configuration files"
url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
makedepends=('xorg-xkbcomp' 'libxslt' 'python' 'meson') # 'git')
provides=('xkbdata')
replaces=('xkbdata')
conflicts=('xkbdata')
source=(https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
2022-09-06 22:42:56 +02:00
#pkgver() {
# cd $pkgname
# git describe --long | sed "s/$pkgname//" | sed 's/^Release.//;s/\([^-]*-g\)/\1/;s/-/+/g;' | sed 's/+//'
#}
build() {
2023-10-09 19:07:53 +02:00
arch-meson ${pkgname}-${pkgver} build \
-D xkb-base="/usr/share/X11/xkb" \
-D compat-rules=true \
-D xorg-rules-symlinks=true
# Print config
meson configure build
ninja -C build
2023-10-09 19:07:53 +02:00
}
2023-10-09 19:07:53 +02:00
check() {
meson test -C build --print-errorlogs
}
2023-10-09 19:07:53 +02:00
package() {
DESTDIR="$pkgdir" ninja -C build install
install -m755 -d "${pkgdir}/var/lib/xkb"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 ${pkgname}-${pkgver}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
#install -m644 ${pkgname}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
2023-06-13 22:31:25 +02:00
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom')
2022-09-06 22:42:56 +02:00
##validpgpkeys=('15CFA5C595041D2CCBEA155F1732AA424A0E86B4') # "Sergey Udaltsov (For GNOME-related tasks) <svu@gnome.org>"
validpgpkeys=('FFB4CCD275AAA422F5F9808E0661D98FC933A145') # Sergey Udaltsov <sergey.udaltsov@gmail.com>
2023-10-09 19:07:53 +02:00
sha256sums=(7a3dba1bec7dc7191432da021242d17c9cf6c89690e6c57b0de048ff8c9d2ae3 # xkeyboard-config-2.40.tar.xz
46bd61d863025ca9c1774753ecc61979f785c0e131cef36f8ab5a5df5fe574b9) # xkeyboard-config-2.40.tar.xz.sig
2023-02-07 13:21:37 +01:00
2023-10-09 19:07:53 +02:00
## cc58a6f0c835255360854e19a0cac0e13067a99a948ff2679256931ee81b008f xkeyboard-config-2.40-01-x86_64.pkg.tar.lz