commit 2c0515c79b83efba2bba59b4538567ea7e1f01a5 Author: xhaa123 Date: Mon Apr 15 21:20:50 2024 +0800 libxshmfence 1.3.2-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ed71673 --- /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=libxshmfence +pkgver=1.3.2 +pkgrel=1 +pkgdesc="a library that exposes a event API on top of Linux futexes" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('GPL') +depends=('glibc') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/lib/libxshmfence-${pkgver}.tar.xz) +sha256sums=(870df257bc40b126d91b5a8f1da6ca8a524555268c50b59c0acd1a27f361606f) + +build() { + cd libxshmfence-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --docdir=/usr/share/doc/libxshmfence-${pkgver} + + make +} + +package() { + cd libxshmfence-${pkgver} + + make DESTDIR=${pkgdir} install +}