commit 9d89bb255ee4a12b87ba65005c908be063292d94 Author: xhaa123 Date: Tue Apr 16 17:33:04 2024 +0800 xmodmap 1.0.11-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..2e51d84 --- /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=xmodmap +pkgver=1.0.11 +pkgrel=1 +pkgdesc="Utility for modifying keymaps and button mappings" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +groups=('xorg-apps' 'xorg') +depends=('libx11') +makedepends=('util-macros') +source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) +sha256sums=(9a2f8168f7b0bc382828847403902cb6bf175e17658b36189eac87edda877e81) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}