# Maintainer: Jack Frost pkgdesc='Package for sysvinit compatibility' pkgname=( 'sinit-sysvcompat' 'sinit-tools' ) license=( 'ISC' ) pkgver=1.0.6 pkgrel=4 arch=( 'any' ) url='https://git.fleshless.org/sinit-tools' conflicts=( 'systemd-sysvcompat' ) source=( "https://git.fleshless.org/u/spark/sinit-tools/snapshot/sinit-tools-${pkgver}.zip" ) package_sinit-sysvcompat() { depends=( 'sinit' 'sinit-tools' ) mkdir -pm755 "${pkgdir}/usr/bin" ln -s /usr/bin/sinit "${pkgdir}/usr/bin/init" ln -s /usr/bin/shutdown "${pkgdir}/usr/bin/reboot" ln -s /usr/bin/shutdown "${pkgdir}/usr/bin/poweroff" } package_sinit-tools() { depends=( 'sinit' ) install -Dm755 "${pkgname}-${pkgver}/shutdown" "${pkgdir}/usr/bin/shutdown" } sha1sums=('e1838fe888c070883b4b4c9f65ded5c2ed60d7ad')