From c83011808778ac822db9a9e2496311d81e6f9eab Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Tue, 16 Apr 2024 17:28:46 +0800 Subject: [PATCH] xlsatoms 1.1.4-1 --- PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..22849c0 --- /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=xlsatoms +pkgver=1.1.4 +pkgrel=1 +pkgdesc="List interned atoms defined on server" +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=(f4bfa15f56c066d326a5d5b292646708f25b9247506840b9047cd2687dcc71b7) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}