main/swclock-offset: upgrade to 0.2.7

Compatibility with distros like NixOS that do not use Filesystem
Hierarchy Standard was improved. This should not affect the behavior
in postmarketOS.

Additionally a systemd target file was added.

Changelog:
- openrc: Adopt customizable binary path
- systemd: add target file
- Improve compatibility with non-FHS systems

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7607>
This commit is contained in:
Jakob Hauser 2025-12-20 14:51:58 +01:00 committed by The Friendly Merge Bot
parent b1f4684fa9
commit b17dbf308f
No known key found for this signature in database

View file

@ -1,12 +1,12 @@
# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=swclock-offset
pkgver=0.2.6
pkgrel=2
pkgver=0.2.7
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"
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
@ -16,11 +16,10 @@ package() {
}
openrc() {
install="$subpkgname.post-install $subpkgname.pre-deinstall"
depends="openrc"
default_openrc
}
sha512sums="
b4efe86cee51d0b6f50ba011d386f50e9e3ea29b59fed90025454070330d8b6dd34fcd597b80984bb553def04a27922c3d0d39ddae7c90e046c7cbafa90db7b2 swclock-offset-0.2.6.tar.gz
3e5b3fb3c235a5fb1ae6449abfaaa702790c4a38c4f9f954901b0334cdb47b47d7bc941dc56387d25efc7666121e967078ad63bcd918c37562120ad7b30ce931 swclock-offset-0.2.7.tar.gz
"