libxtst 1.2.4-1

This commit is contained in:
xhaa123 2024-04-15 21:09:02 +08:00
commit d32bcc7a49

35
PKGBUILD Normal file
View File

@ -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 <future_linux@163.com>
pkgname=libxtst
pkgver=1.2.4
pkgrel=1
pkgdesc="X11 Testing -- Resource extension library"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'libxi' 'libxfixes')
makedepends=('util-macros' 'xorgproto')
source=(https://www.x.org/pub/individual/lib/libXtst-${pkgver}.tar.xz)
sha256sums=(84f5f30b9254b4ffee14b5b0940e2622153b0d3aed8286a3c5b7eeb340ca33c8)
build() {
cd libXtst-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--docdir=/usr/share/doc/libXtst-${pkgver}
make
}
package() {
cd libXtst-${pkgver}
make DESTDIR=${pkgdir} install
}