[arch-commits] Commit in systemd-sysvcompat/repos (extra-any extra-any/PKGBUILD)

Dave Reisner dreisner at archlinux.org
Sun Feb 12 11:03:52 EST 2012


    Date: Sunday, February 12, 2012 @ 11:03:52
  Author: dreisner
Revision: 150111

archrelease: copy trunk to extra-any

Added:
  systemd-sysvcompat/repos/extra-any/
  systemd-sysvcompat/repos/extra-any/PKGBUILD
    (from rev 150110, systemd-sysvcompat/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: systemd-sysvcompat/repos/extra-any/PKGBUILD (from rev 150110, systemd-sysvcompat/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2012-02-12 16:03:52 UTC (rev 150111)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=systemd-sysvcompat
+pkgver=1
+pkgrel=1
+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 '/bin/systemctl' "$pkgdir/sbin/$tool"
+  done
+
+  ln -s '/bin/systemd' "$pkgdir/sbin/init"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list