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 --- pony-initialisation/PKGBUILD | 37 +++++++++++++++++++++++++ pony-initialisation/pony-initialisation.install | 23 +++++++++++++++ pony-initialisation/upload | 1 + 3 files changed, 61 insertions(+) create mode 100644 pony-initialisation/PKGBUILD create mode 100644 pony-initialisation/pony-initialisation.install create mode 120000 pony-initialisation/upload (limited to 'pony-initialisation') 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 -- cgit v1.2.3-70-g09d2