xkeyboard-config 2.41-1

This commit is contained in:
xhaa123 2024-04-16 22:49:21 +08:00
commit 3cd127b179

33
PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=xkeyboard-config
pkgver=2.41
pkgrel=1
pkgdesc="X keyboard configuration files"
arch=('x86_64')
url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
license=('LicenseRef-xkeyboard-config')
makedepends=('xkbcomp' 'libxslt' 'python' 'meson')
source=(https://www.x.org/pub/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(f02cd6b957295e0d50236a3db15825256c92f67ef1f73bf1c77a4b179edf728f)
build() {
cd ${pkgname}-${pkgver}
meson setup build \
--prefix=/usr \
--buildtype=release \
-Dlibdir=/usr/lib64
meson compile -C build
}
package() {
cd ${pkgname}-${pkgver}
meson install -C build --destdir ${pkgdir}
}