summaryrefslogtreecommitdiffstats
path: root/abs/core/poweroff-scripts/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/poweroff-scripts/PKGBUILD')
-rw-r--r--abs/core/poweroff-scripts/PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/abs/core/poweroff-scripts/PKGBUILD b/abs/core/poweroff-scripts/PKGBUILD
index 9bcfee1..3fd7fcc 100644
--- a/abs/core/poweroff-scripts/PKGBUILD
+++ b/abs/core/poweroff-scripts/PKGBUILD
@@ -1,9 +1,9 @@
pkgname=poweroff-scripts
pkgver=1.1
-pkgrel=3
-pkgdesc="replacement scripts to work with sysvinit and runit"
+pkgrel=7
+pkgdesc="Replacement power scripts to work with systemd and runit"
license=('GPL')
-depends=('sysvinit>=2.88' 'runit>=2.1.1-6')
+depends=('systemd-sysvcompat' 'runit>=2.1.1-6')
makedepends=()
conflicts=()
replaces=()
@@ -12,16 +12,14 @@ install=poweroff-scripts.install
source=(halt.script reboot.script poweroff.script shutdown.script)
arch=('i686' 'x86_64')
-build() {
- install -d $pkgdir/sbin/
- install -m0755 $srcdir/reboot.script $pkgdir/sbin/reboot
- install -m0755 $srcdir/halt.script $pkgdir/sbin/halt
- install -m0755 $srcdir/poweroff.script $pkgdir/sbin/poweroff
- install -m0755 $srcdir/shutdown.script $pkgdir/sbin/shutdown
-
+package() {
+ install -d $pkgdir/usr/bin/
+ install -m0755 $srcdir/reboot.script $pkgdir/usr/bin/reboot
+ install -m0755 $srcdir/halt.script $pkgdir/usr/bin/halt
+ install -m0755 $srcdir/poweroff.script $pkgdir/usr/bin/poweroff
+ install -m0755 $srcdir/shutdown.script $pkgdir/usr/bin/shutdown
}
-
-md5sums=('68ac5d7d5784e9559c9752d94a4943d5'
- '3e042113f8715bc5bfd365d2486d0108'
- '3ec5f3013dcbd60b6b957d17ba220585'
- '16bb393e9ae7b5fa744ca91970f350cc')
+md5sums=('b0af95f1fc03d51a8e40d86ca59749e9'
+ '23d8541b77ab539a2b66cab58f78dcff'
+ 'cd23d47abf536f3874bc24f044dea682'
+ '8898528f9da8458115480bfee0100300')