0.3.0 Changelog: - Change behavior on missing RTC from "fail" to "skip" 0.2.9 Changelog: - Restore failure on missing rtc sys node - Remove quotation marks in shell scripts - Allow customizing cache path by make - systemd: break dependency cycle 0.2.8 Changelog: - Gracefully handle absence of RTC and offset storage file Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7989>
25 lines
810 B
Text
25 lines
810 B
Text
maintainer="Jakko <jahau@rocketmail.com>"
|
|
pkgname=swclock-offset
|
|
pkgver=0.3.0
|
|
pkgrel=0
|
|
pkgdesc="Keep system time at an offset to a non-writable RTC"
|
|
url="https://gitlab.postmarketos.org/postmarketOS/swclock-offset"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
install="$pkgname.post-deinstall $pkgname-openrc.post-install $pkgname-openrc.pre-deinstall"
|
|
subpackages="$pkgname-openrc $pkgname-systemd"
|
|
source="https://gitlab.postmarketos.org/postmarketOS/swclock-offset/-/archive/$pkgver/swclock-offset-$pkgver.tar.gz"
|
|
options="!check" # No tests
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
openrc() {
|
|
depends="openrc"
|
|
default_openrc
|
|
}
|
|
|
|
sha512sums="
|
|
7779deaf688dd25b9abe8161c8a0651d11b1a44785ff4495a1c4a8b9ba2108a9e73c47cbdb3f8669c4e2e85bea884145f66311c9ce674c1464538695a9852dc0 swclock-offset-0.3.0.tar.gz
|
|
"
|