aboutsummaryrefslogtreecommitdiffstats
path: root/testing/triggerhappy
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-03 08:11:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-03 08:12:15 +0000
commitfd30a0ca31c2aa3bc8f306e50c0bd68600bf9ff9 (patch)
tree6c13a2d169f6bd08694f9f43df647ffff6961b00 /testing/triggerhappy
parente8340051bb79023624f391d700fad7d4ca1c18cd (diff)
downloadaports-fd30a0ca31c2aa3bc8f306e50c0bd68600bf9ff9.tar.bz2
aports-fd30a0ca31c2aa3bc8f306e50c0bd68600bf9ff9.tar.xz
testing/triggerhappy: move udev rules to etc. start before udev
Diffstat (limited to 'testing/triggerhappy')
-rw-r--r--testing/triggerhappy/APKBUILD10
-rw-r--r--testing/triggerhappy/triggerhappy.initd4
2 files changed, 8 insertions, 6 deletions
diff --git a/testing/triggerhappy/APKBUILD b/testing/triggerhappy/APKBUILD
index 32d9daf217..476dd7bd29 100644
--- a/testing/triggerhappy/APKBUILD
+++ b/testing/triggerhappy/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=triggerhappy
pkgver=0.3.4
-pkgrel=0
+pkgrel=1
pkgdesc="A lightweight hotkey daemon"
url="https://github.com/wertarbyte/triggerhappy"
arch="all"
@@ -37,7 +37,7 @@ package() {
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
install -D udev/triggerhappy-udev.rules \
- "$pkgdir"/lib/udev/rules.d/50-triggerhappy.rules \
+ "$pkgdir"/etc/udev/rules.d/50-triggerhappy.rules \
|| return 1
install -d "$pkgdir"/etc/triggerhappy/triggers.d || return 1
install triggerhappy.conf.examples \
@@ -49,11 +49,11 @@ package() {
}
md5sums="9719903899b3082e75a7ff6e9c00752d triggerhappy-0.3.4.tar.gz
-902daa19d3315296df89c49904cfeca2 triggerhappy.initd
+47d1f804b364758f8742f487926468b4 triggerhappy.initd
b96c7efb0c27a2d598ebab9cb8dd5dd9 triggerhappy.confd"
sha256sums="68001858df715527326850940a71690fda9d159ac73bed4a580fb7d2ffd61c83 triggerhappy-0.3.4.tar.gz
-d54f4e03f0ace48175af502019cad78ebfa3175ac1ab7b3f1a516f74a11be1e0 triggerhappy.initd
+3d02676adbe3df0a6517754f78480364284521c0c6637a46419131d02025c66b triggerhappy.initd
1601b34ed30ec11293a353937669d030d811357fa2e0f5eb7ff04874daf91702 triggerhappy.confd"
sha512sums="cf08554a41019019c1142368273dc781c840bb9de81b9a386b4debd34f37816bfe516077f7192779822aa5662b3fadd76a6ff141e7c038b65dd7f51e92135e4c triggerhappy-0.3.4.tar.gz
-62eaa739d6c097d5d3b505087dffad28836ac05ed8622152264defda603eb0181d58d8d0c57641adac06e44f3546198241552a3672d6deec136f019f1afa039b triggerhappy.initd
+b7521739335576f6bfc1c8a440cfe0b137862a07fae1138dcec2a082a8043dd9b64c54c64b62de06e06c0ee003c04e962a8c9be4f60d9ea3ca0898cfde4320a6 triggerhappy.initd
5f31b9736e8ee8a7c8125dd5c14c4cdf515a6d57c36d04b9b1949cdb6150f25ef264ed8ee5e31f0d62de12db151df5aec9a325ff5d5b5ba0b3b7105c76cd07a0 triggerhappy.confd"
diff --git a/testing/triggerhappy/triggerhappy.initd b/testing/triggerhappy/triggerhappy.initd
index 18b073cfb3..ac707e927c 100644
--- a/testing/triggerhappy/triggerhappy.initd
+++ b/testing/triggerhappy/triggerhappy.initd
@@ -7,4 +7,6 @@ command=/usr/sbin/thd
pidfile=/var/run/thd.pid
command_args="--daemon --socket $socket --triggers $triggers $devices --pidfile $pidfile"
-
+depend() {
+ before udev
+}