libxkbfile/PKGBUILD

36 lines
1013 B
Bash
Raw Permalink Normal View History

2024-04-15 21:19:43 +08:00
# 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=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
}