[arch-commits] Commit in systemd-sysvcompat/repos (3 files)
Tom Gundersen
tomegun at archlinux.org
Sun Apr 1 20:17:43 UTC 2012
Date: Sunday, April 1, 2012 @ 16:17:42
Author: tomegun
Revision: 155336
db-move: moved systemd-sysvcompat from [staging] to [testing] (any)
Added:
systemd-sysvcompat/repos/testing-any/
systemd-sysvcompat/repos/testing-any/PKGBUILD
(from rev 155335, systemd-sysvcompat/repos/staging-any/PKGBUILD)
Deleted:
systemd-sysvcompat/repos/staging-any/
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: systemd-sysvcompat/repos/testing-any/PKGBUILD (from rev 155335, systemd-sysvcompat/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-04-01 20:17:42 UTC (rev 155336)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at 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:
More information about the arch-commits
mailing list