commit e1e687ac20618e56035036db3484c15d5203f3ad Author: xhaa123 Date: Mon Apr 15 21:28:04 2024 +0800 xcb-util-keysyms 0.4.1-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c8c46cc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# 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=xcb-util-keysyms +pkgver=0.4.1 +pkgrel=1 +pkgdesc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes" +arch=('x86_64') +url="https://xcb.freedesktop.org" +license=('custom') +depends=('libxcb') +makedepends=('util-macros' 'xorgproto') +source=(https://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.xz) +sha256sums=(7c260a5294412aed429df1da2f8afd3bd07b7cba3fec772fba15a613a6d5c638) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}