xkbutils/PKGBUILD

36 lines
966 B
Bash
Raw Permalink Normal View History

2024-04-16 14:39:39 +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=xkbutils
pkgver=1.0.6
pkgrel=1
pkgdesc="XKB utility demos"
arch=('x86_64')
url="https://gitlab.freedesktop.org/xorg/app/xkbutils"
license=('LicenseRef-xkbutils')
groups=('xorg-apps' 'xorg')
depends=('libxaw' 'libxt' 'libx11' 'glibc')
makedepends=('util-macros' 'xorgproto')
source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz)
sha256sums=(31a2bbee1e09ccba01de92897b8f540b545de812f318d31de07bd3a5a75ee25e)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}