sinit-sysvcompat/PKGBUILD

32 lines
773 B
Bash
Raw Permalink Normal View History

2015-06-01 13:15:16 +00:00
# Maintainer: Jack Frost <fbt@fleshless.org>
# Random string
2015-06-01 13:15:16 +00:00
pkgdesc='Package for sysvinit compatibility'
pkgname=( 'sinit-sysvcompat' 'sinit-tools' )
license=( 'ISC' )
pkgver=1.0.6
pkgrel=5
2015-06-01 13:15:16 +00:00
arch=( 'any' )
url='https://code.fleshless.org/spark/sinit-tools'
2015-06-01 13:15:16 +00:00
conflicts=( 'systemd-sysvcompat' )
source=( "https://code.fleshless.org/Spark/sinit-tools/archive/$pkgver.tar.gz" )
2015-06-01 13:15:16 +00:00
package_sinit-sysvcompat() {
depends=( 'sinit' 'sinit-tools' )
mkdir -pm755 "${pkgdir}/usr/bin"
ln -s sinit "${pkgdir}/usr/bin/init"
ln -s shutdown "${pkgdir}/usr/bin/reboot"
ln -s shutdown "${pkgdir}/usr/bin/poweroff"
2015-06-01 13:15:16 +00:00
}
package_sinit-tools() {
depends=( 'sinit' )
install -Dm755 "$pkgname/shutdown" "${pkgdir}/usr/bin/shutdown"
2015-06-01 13:15:16 +00:00
}
sha1sums=('96548925c0b4c649d0c2f5940fd29a3b221a8909')