commit 9c6e26cfedd4f001820b439fb790e27851496f98 Author: xhaa123 Date: Tue Apr 16 00:27:28 2024 +0800 xinput 1.6.4-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..48845bf --- /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=xinput +pkgver=1.6.4 +pkgrel=1 +pkgdesc="Small commandline tool to configure devices" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +groups=('xorg-apps' 'xorg') +depends=('libx11' 'libxi>=1.5.99.2' 'libxrandr' 'libxinerama') +makedepends=('util-macros' 'xorgproto' 'libxfixes') +source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) +sha256sums=(ad04d00d656884d133110eeddc34e9c69e626ebebbbab04dc95791c2907057c8) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}