commit 820760b595ed8c4a3ef1a10052aba49519998103 Author: xhaa123 Date: Tue Apr 16 17:29:48 2024 +0800 xlsclients 1.1.5-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c45484a --- /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=xlsclients +pkgver=1.1.5 +pkgrel=1 +pkgdesc="List client applications running on a display" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +groups=('xorg-apps' 'xorg') +depends=('libxcb') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) +sha256sums=(68baee57e70250ac4a7759fb78221831f97d88bc8e51dcc2e64eb3f8ca56bae3) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}