commit 5539f88b0219cfa1e14768b4964d197d76f40ce1 Author: xhaa123 Date: Tue Apr 16 00:23:34 2024 +0800 xev 1.2.6-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..90932c0 --- /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=xev +pkgver=1.2.6 +pkgrel=1 +pkgdesc="Print contents of X events" +arch=('x86_64') +url="https://gitlab.freedesktop.org/xorg/app/xev" +license=('MIT') +groups=('xorg-apps' 'xorg') +depends=('glibc' 'libx11' 'libxrandr') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) +sha256sums=(61e1c5e008ac9973aca7cdddf36e9df7410e77083b030eb04f4dc737c51807d7) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}