diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-25 22:40:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-25 22:40:07 +0200 |
commit | 29fa855cdb2b02cb989fdd942382f2c404efbc29 (patch) | |
tree | fef3cc6d0ae050c12a08051b7f630ce0a8b2aad2 /gates-of-tartaros | |
parent | Update e-mail address (diff) | |
download | aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.gz aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.bz2 aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.xz |
add packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'gates-of-tartaros')
-rw-r--r-- | gates-of-tartaros/PKGBUILD | 31 | ||||
-rw-r--r-- | gates-of-tartaros/gates-of-tartaros.install | 20 | ||||
l--------- | gates-of-tartaros/upload | 1 |
3 files changed, 52 insertions, 0 deletions
diff --git a/gates-of-tartaros/PKGBUILD b/gates-of-tartaros/PKGBUILD new file mode 100644 index 0000000..c6472eb --- /dev/null +++ b/gates-of-tartaros/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com> + +# If want to minimise the memory usage exchange bash for dash + +pkgname=gates-of-tartaros +pkgver=1503081567 +pkgrel=1 +pkgdesc="Extensible minimal replacement for agetty with SSH support" +url="https://github.com/GNU-Pony/gates-of-tartaros" +arch=(any) +license=(GPL3) +depends=(util-linux bash coreutils) +optdepends=(openssh) +makedepends=(make sed coreutils texinfo) +install=gates-of-tartaros.install +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=(01f73bbc02bf464c877b62e86fd04f766f3edd99ca20ab98dcd487fa0389bbe6) + + +build() { + cd "${srcdir}/gates-of-tartaros-${pkgver}" + make PKGNAME="${pkgname}" SBIN=/bin PREFIX=/usr SH=bash +} + +package() { + cd "${srcdir}/gates-of-tartaros-${pkgver}" + make PKGNAME="${pkgname}" SBIN=/bin PREFIX=/usr DESTDIR="${pkgdir}" install + _dir="${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" +} + diff --git a/gates-of-tartaros/gates-of-tartaros.install b/gates-of-tartaros/gates-of-tartaros.install new file mode 100644 index 0000000..9a1251a --- /dev/null +++ b/gates-of-tartaros/gates-of-tartaros.install @@ -0,0 +1,20 @@ +_file="gates-of-tartaros" + +infodir="usr/share/info" +file="${_file}.info" + + +post_install() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + diff --git a/gates-of-tartaros/upload b/gates-of-tartaros/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/gates-of-tartaros/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |