pmaports/main/swclock-offset/APKBUILD
Jakob Hauser 67b5dd49dd
main/swclock-offset: move to its own repository (MR 3642)
To make "swclock-offset" available to other projects as well, it was
moved to its own repository.
2022-11-15 10:32:29 +01:00

26 lines
792 B
Text

# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=swclock-offset
pkgver=0.2.1
pkgrel=0
pkgdesc="Keep system time at an offset to a non-writable RTC"
url="https://gitlab.com/postmarketOS/swclock-offset"
arch="noarch"
license="GPL-3.0-or-later"
install="$pkgname.post-deinstall"
subpackages="$pkgname-openrc"
source="https://gitlab.com/postmarketOS/swclock-offset/-/archive/$pkgver/swclock-offset-$pkgver.tar.gz"
options="!check" # No tests
package() {
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install_openrc
}
openrc() {
install="$subpkgname.post-install $subpkgname.pre-deinstall"
default_openrc
}
sha512sums="
ce33a47adf5c72ae3b668a0e072157e45c6b8677b54891de1e8f9979ff9ed4b8bd178c2e7f78e574647ce462681e9ddc2cbd078ff1943cd3dcf58bf1c1468afb swclock-offset-0.2.1.tar.gz
"