1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-12 16:19:48 +03:00
pmaports/main/swclock-offset/APKBUILD
2025-05-06 10:49:08 +02:00

26 lines
814 B
Text

# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=swclock-offset
pkgver=0.2.5
pkgrel=2
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"
depends="openrc"
default_openrc
}
sha512sums="
ced23544e0bb19f1d21649578553e0ff82e017fc771de8841c527b7b174bc0162c88574b63c6afd8c7d3bf53fc628d5f7055eb7919385adbbf049fe3844df86d swclock-offset-0.2.5.tar.gz
"