main/shutdown-clear-rtc-wakealarm: add openrc subpackage (MR 5364)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Clayton Craft 2024-07-22 15:16:21 -07:00
parent cc0f235f88
commit 1bfcd0b001
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 7 additions and 2 deletions

View file

@ -1,20 +1,25 @@
# Maintainer: Arnav Singh <me@arnavion.dev> # Maintainer: Arnav Singh <me@arnavion.dev>
pkgname=shutdown-clear-rtc-wakealarm pkgname=shutdown-clear-rtc-wakealarm
pkgver=1.0.0 pkgver=1.0.0
pkgrel=0 pkgrel=1
pkgdesc="Pre-shutdown service to clear RTC wake alarm" pkgdesc="Pre-shutdown service to clear RTC wake alarm"
url="https://wiki.postmarketos.org/wiki/Shutdown-clear-rtc-wakealarm" url="https://wiki.postmarketos.org/wiki/Shutdown-clear-rtc-wakealarm"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
subpackages="$pkgname-openrc"
source=" source="
clear-rtc-wakealarm.shutdown.initd clear-rtc-wakealarm.shutdown.initd
" "
install="$pkgname.post-install"
package() { package() {
install -Dm755 "$srcdir"/clear-rtc-wakealarm.shutdown.initd "$pkgdir"/etc/init.d/clear-rtc-wakealarm install -Dm755 "$srcdir"/clear-rtc-wakealarm.shutdown.initd "$pkgdir"/etc/init.d/clear-rtc-wakealarm
} }
openrc() {
install="$subpkgname.post-install"
default_openrc
}
sha512sums=" sha512sums="
5e19659b9e8d2ab182ea8658a752d08c950c526546864288c5387a3e28f7973baebcf0d49350bfced1387160f4dde963c6f921f5cd4e3730940b88ae3e443cba clear-rtc-wakealarm.shutdown.initd 5e19659b9e8d2ab182ea8658a752d08c950c526546864288c5387a3e28f7973baebcf0d49350bfced1387160f4dde963c6f921f5cd4e3730940b88ae3e443cba clear-rtc-wakealarm.shutdown.initd
" "