commit 64a8ccb10637e70325e291297c80e0734fd31348 Author: xhaa123 Date: Mon Apr 15 16:58:59 2024 +0800 libxdamage 1.1.6-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e286296 --- /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=libxdamage +pkgver=1.1.6 +pkgrel=1 +pkgdesc="X11 damaged region extension library" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +depends=('libxfixes') +makedepends=('xorgproto') +source=(https://www.x.org/pub/individual/lib/libXdamage-${pkgver}.tar.xz) +sha256sums=(52733c1f5262fca35f64e7d5060c6fcd81a880ba8e1e65c9621cf0727afb5d11) + +build() { + cd libXdamage-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --docdir=/usr/share/doc/libXdamage-${pkgver} + + make +} + +package() { + cd libXdamage-${pkgver} + + make DESTDIR=${pkgdir} install +}