From 5a3ea4d5d09b18d3ea4496acc9b984a1199ee044 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 15 Apr 2024 22:54:23 +0800 Subject: [PATCH] sessreg 1.1.3-1 --- PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..31869d0 --- /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=sessreg +pkgver=1.1.3 +pkgrel=1 +pkgdesc="Register X sessions in system utmp/utmpx databases" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +groups=('xorg-apps' 'xorg') +depends=('glibc') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) +sha256sums=(022acd5de8077dddc4f919961f79e102ecd5f3228a333681af5cd0e7344facc2) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}