From 29fa855cdb2b02cb989fdd942382f2c404efbc29 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 25 Sep 2024 22:40:07 +0200 Subject: add packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- cerberus-logging/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 cerberus-logging/PKGBUILD (limited to 'cerberus-logging/PKGBUILD') diff --git a/cerberus-logging/PKGBUILD b/cerberus-logging/PKGBUILD new file mode 100644 index 0000000..cd06939 --- /dev/null +++ b/cerberus-logging/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com> + +pkgname=cerberus-logging +pkgver=1428445270 +pkgrel=1 +pkgdesc="Log-in logging extension for cerberus" +url="https://github.com/GNU-Pony/cerberus-logging" +arch=(i686 x86_64) +license=(GPL3) +depends=(glibc coreutils sh) +optdepends=('audit: for logging with audit') +makedepends=(make coreutils gcc glibc audit texinfo) +install=cerberus-logging.install +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=(fedb5423eef21f108f1a293c17e625a3e49be9b891737b65b1284b6817ef59f1) + +build() { + cd "${srcdir}/cerberus-logging-${pkgver}" + + LDFLAGS= make PKGNAME="${pkgname}" info btmp utmp lastlog syslog audit +} + +package() { + cd "${srcdir}/cerberus-logging-${pkgver}" + + make PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install-base install-info \ + install-btmp install-utmp install-lastlog install-syslog install-audit + + _dir="${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" +} + -- cgit v1.2.3-70-g09d2