Files
pmaports-rtwo/main/swclock-offset/APKBUILD
T
Caleb ConnollyandClayton Craft a679e5132c systemd/*: use new abuild systemd helpers
Adjust everything to use the new systemd abuild helpers. These generate
the post-install/pre-deinstall and post-upgrade scripts automagically,
and abuild now provides some helpers where it's necessary to finegle
things a bit (e.g. see the pipewire-pulse-systemd subpackage).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00

26 lines
796 B
Bash

# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=swclock-offset
pkgver=0.2.5
pkgrel=1
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"
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() {
install="$subpkgname.post-install $subpkgname.pre-deinstall"
default_openrc
}
sha512sums="
ced23544e0bb19f1d21649578553e0ff82e017fc771de8841c527b7b174bc0162c88574b63c6afd8c7d3bf53fc628d5f7055eb7919385adbbf049fe3844df86d swclock-offset-0.2.5.tar.gz
"