From 59873057bc4c8fbf6778c2f2767213bfa95d2b5f Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 15 Apr 2024 21:21:53 +0800 Subject: [PATCH] libxpresent 1.0.1-1 --- PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1f9a743 --- /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=libxpresent +pkgver=1.0.1 +pkgrel=1 +pkgdesc="X Present Extension library" +arch=('x86_64') +url="https://gitlab.freedesktop.org/xorg/lib/libxpresent" +license=('custom') +depends=('libxfixes' 'libxrandr') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/lib/libXpresent-${pkgver}.tar.xz) +sha256sums=(b964df9e5a066daa5e08d2dc82692c57ca27d00b8cc257e8e960c9f1cf26231b) + +build() { + cd libXpresent-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --docdir=/usr/share/doc/libXpresent-${pkgver} + + make +} + +package() { + cd libXpresent-${pkgver} + + make DESTDIR=${pkgdir} install +}