commit c192707e9ae33665bd21d3081646dd092e1295ef Author: xhaa123 Date: Mon Apr 15 21:19:43 2024 +0800 libxkbfile 1.1.3-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..47821df --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# 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 +pkgname=libxkbfile +pkgver=1.1.3 +pkgrel=1 +pkgdesc="X11 keyboard file manipulation library" +arch=('x86_64') +url="https://gitlab.freedesktop.org/xorg/lib/libxkbfile" +license=('LicenseRef-libxkbfile') +depends=('libx11' 'xorgproto' 'glibc') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/lib/libxkbfile-${pkgver}.tar.xz) +sha256sums=(a9b63eea997abb9ee6a8b4fbb515831c841f471af845a09de443b28003874bec) + +build() { + cd libxkbfile-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --docdir=/usr/share/doc/libxkbfile-${pkgver} + + make +} + +package() { + cd libxkbfile-${pkgver} + + make DESTDIR=${pkgdir} install +}