Date: Saturday, March 31, 2012 @ 20:13:56 Author: tomegun Revision: 154976
archrelease: copy trunk to staging-any Added: systemd-sysvcompat/repos/staging-any/ systemd-sysvcompat/repos/staging-any/PKGBUILD (from rev 154975, systemd-sysvcompat/trunk/PKGBUILD) ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Copied: systemd-sysvcompat/repos/staging-any/PKGBUILD (from rev 154975, systemd-sysvcompat/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2012-04-01 00:13:56 UTC (rev 154976) @@ -0,0 +1,23 @@ +# $Id$ +# Maintainer: Dave Reisner <dreis...@archlinux.org> + +pkgname=systemd-sysvcompat +pkgver=2 +pkgrel=2 +pkgdesc="sysvinit compat symlinks for systemd" +arch=('any') +url="http://www.archlinux.org" +license=('GPL') +depends=('systemd') +conflicts=('sysvinit') + +package() { + install -dm755 "$pkgdir/sbin" + for tool in runlevel reboot shutdown poweroff halt telinit; do + ln -s '/usr/bin/systemctl' "$pkgdir/sbin/$tool" + done + + ln -s '../usr/lib/systemd/systemd' "$pkgdir/sbin/init" +} + +# vim:set ts=2 sw=2 et: