aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-28 11:27:50 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-28 09:28:50 +0000
commit8056413bc83072625248abe35f9e995a21482803 (patch)
tree2c355e2b2d444862a9cc3ad4aecd12a94a842aad
parent32f3b60f7bff6a817561c5fa1d198404398a703c (diff)
community/urfkill: enable supervise-daemon by default
-rw-r--r--community/urfkill/APKBUILD6
-rw-r--r--community/urfkill/urfkill.confd1
2 files changed, 6 insertions, 1 deletions
diff --git a/community/urfkill/APKBUILD b/community/urfkill/APKBUILD
index 3e474118b9e..5fe5502f00e 100644
--- a/community/urfkill/APKBUILD
+++ b/community/urfkill/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=urfkill
pkgver=0.5.0_git20210401
+pkgrel=1
_commit="333a29d5d7b09c4ae296ec37d9c6aaaf1b8f539b"
-pkgrel=0
pkgdesc="Handle rfkill events in userspace"
url="https://freedesktop.org/wiki/Software/urfkill/"
arch="all !mips !mips64 !s390x" # blocked by polkit-elogind-dev
@@ -26,6 +26,7 @@ makedepends="
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://github.com/lcp/urfkill/archive/$_commit/urfkill-$_commit.tar.gz
urfkill.initd
+ urfkill.confd
"
builddir="$srcdir/urfkill-$_commit"
options="!check" # Fails with translations check
@@ -44,10 +45,13 @@ check() {
package() {
DESTDIR="$pkgdir" make install
+
install -Dm755 "$srcdir"/urfkill.initd "$pkgdir"/etc/init.d/urfkill
+ install -Dm644 "$srcdir"/urfkill.confd "$pkgdir"/etc/conf.d/urfkill
}
sha512sums="
f45104a4016a32af4616a03c7395ce65667b797f953ea18573d8f859099000e611fd9c734da7c82cd8b8782220a398d81659300984c6ad1ef091a0c30c5094bd urfkill-333a29d5d7b09c4ae296ec37d9c6aaaf1b8f539b.tar.gz
7126aaa8d4d47e6cd0b5bceacc0508db7a4b70a1ce50aa2ffe7eb0043923d08b959f05a2246389f66270c91c2c43efc1c7349e8a01897a239af89af1065fe1ee urfkill.initd
+b841282b96110ec59a7aa539db0737327b09549d55c78dc4b2c3b28b4a6ad1facf015b3175cb6d3a38f13e47aa6314ef3dc1514a4e60dd653a97409ec54ba706 urfkill.confd
"
diff --git a/community/urfkill/urfkill.confd b/community/urfkill/urfkill.confd
new file mode 100644
index 00000000000..9bd312c0c00
--- /dev/null
+++ b/community/urfkill/urfkill.confd
@@ -0,0 +1 @@
+supervisor=supervise-daemon