Files
pmaports-rtwo/main/swclock-offset/APKBUILD
T
Jakob Hauser b17dbf308f 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>
2025-12-21 10:40:08 +00:00

26 lines
811 B
Bash

# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=swclock-offset
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 $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="
3e5b3fb3c235a5fb1ae6449abfaaa702790c4a38c4f9f954901b0334cdb47b47d7bc941dc56387d25efc7666121e967078ad63bcd918c37562120ad7b30ce931 swclock-offset-0.2.7.tar.gz
"