commit f4e4d2f5549ac526fd6998d96e020584cb9ae164 Author: xhaa123 Date: Mon Apr 15 14:46:20 2024 +0800 libxcomposite 0.4.6-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..d7ec239 --- /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=libxcomposite +pkgver=0.4.6 +pkgrel=1 +pkgdesc="X11 Composite extension library" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +depends=('libxfixes') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/lib/libXcomposite-${pkgver}.tar.xz) +sha256sums=(fe40bcf0ae1a09070eba24088a5eb9810efe57453779ec1e20a55080c6dc2c87) + +build() { + cd libXcomposite-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --docdir=/usr/share/doc/libXcomposite-${pkgver} + + make +} + +package() { + cd libXcomposite-${pkgver} + + make DESTDIR=${pkgdir} install +}