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 /pony-initialisation | |
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 '')
-rw-r--r-- | pony-initialisation/PKGBUILD | 37 | ||||
-rw-r--r-- | pony-initialisation/pony-initialisation.install | 23 | ||||
l--------- | pony-initialisation/upload | 1 |
3 files changed, 61 insertions, 0 deletions
diff --git a/pony-initialisation/PKGBUILD b/pony-initialisation/PKGBUILD new file mode 100644 index 0000000..b314a62 --- /dev/null +++ b/pony-initialisation/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com> + +pkgname=pony-initialisation +pkgver=1381025241 +pkgrel=2 +pkgdesc="System bootup scripts for sysvinit" +url="https://github.com/GNU-Pony/pony-initialisation" +arch=(any) +license=(GPL3) +backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown) +depends=(glibc bash coreutils iproute2 ncurses kbd findutils) +makedepends=("dhcpcd: DHCP network configuration" + "bridge-utils: Network bridging support" + "net-tools: Network support" + "wireless_tools: Wireless networking" + "sysvinit: SysV init support" + "systemd: new crypttab format support") +provides=(initscripts initscripts-fork) +conflicts=(initscripts initscripts-fork) +makedepends=(make coreutils grep sed asciidoc texinfo gzip) +install=pony-initialisation.install +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=(56cfd3d3e13f0507d251c34079fc57f301e11934ff9ddecc9591798691a00c62) + + +build() { + cd "${srcdir}/pony-initialisation-${pkgver}" + make DESTDIR="${pkgdir}" PREFIX= LIBEXEC=/lib DATA=/usr/share info completion/{bash,zsh}-completion.install +} + +package() { + cd "${srcdir}/pony-initialisation-${pkgver}" + make -j1 DESTDIR="${pkgdir}" PREFIX= LIBEXEC=/lib DATA=/usr/share install install_systemdcompatlayer install_all_daemons + _dir="${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" +} + diff --git a/pony-initialisation/pony-initialisation.install b/pony-initialisation/pony-initialisation.install new file mode 100644 index 0000000..8d34bd3 --- /dev/null +++ b/pony-initialisation/pony-initialisation.install @@ -0,0 +1,23 @@ +_files=(rc.conf rc.d) + +infodir="usr/share/info" + + +post_install() { + [[ -x "usr/bin/install-info" ]] || return 0 + for file in "${_files[@]}"; do + install-info -- "${infodir}/${file}.info.gz" "${infodir}/dir" 2> /dev/null + done +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x "usr/bin/install-info" ]] || return 0 + for file in "${_files[@]}"; do + install-info --delete -- "${infodir}/${file}.info.gz" "${infodir}/dir" 2> /dev/null + done +} + diff --git a/pony-initialisation/upload b/pony-initialisation/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/pony-initialisation/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |