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-securetty/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 cerberus-securetty/PKGBUILD (limited to 'cerberus-securetty/PKGBUILD') diff --git a/cerberus-securetty/PKGBUILD b/cerberus-securetty/PKGBUILD new file mode 100644 index 0000000..cdee6e6 --- /dev/null +++ b/cerberus-securetty/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com> + +pkgname=cerberus-securetty +pkgver=1428445363 +pkgrel=1 +pkgdesc="securetty support for cerberus" +url="https://github.com/GNU-Pony/cerberus-securetty" +arch=(i686 x86_64) +license=(GPL3) +depends=(grep coreutils sh) +makedepends=(make coreutils texinfo) +install=cerberus-securetty.install +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=(b63ed4b5f60b1c9731a801da01f8b04484cd930c78a56a264096d60594642fc8) + +build() { + cd "${srcdir}/cerberus-securetty-${pkgver}" + + make PKGNAME="${pkgname}" +} + +package() { + cd "${srcdir}/cerberus-securetty-${pkgver}" + + make PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install + + _dir="${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" +} + -- cgit v1.2.3-70-g09d2