2022-09-30 23:39:10 +00:00
|
|
|
# Maintainer: Jakko <jahau@rocketmail.com>
|
2021-05-24 05:26:28 +00:00
|
|
|
pkgname=swclock-offset
|
2022-12-12 00:58:56 +00:00
|
|
|
pkgver=0.2.2
|
2022-11-13 21:47:32 +00:00
|
|
|
pkgrel=0
|
2021-05-24 05:26:28 +00:00
|
|
|
pkgdesc="Keep system time at an offset to a non-writable RTC"
|
2022-11-13 21:47:32 +00:00
|
|
|
url="https://gitlab.com/postmarketOS/swclock-offset"
|
2021-05-24 05:26:28 +00:00
|
|
|
arch="noarch"
|
|
|
|
license="GPL-3.0-or-later"
|
|
|
|
install="$pkgname.post-deinstall"
|
|
|
|
subpackages="$pkgname-openrc"
|
2022-11-13 21:47:32 +00:00
|
|
|
source="https://gitlab.com/postmarketOS/swclock-offset/-/archive/$pkgver/swclock-offset-$pkgver.tar.gz"
|
2021-05-24 05:26:28 +00:00
|
|
|
options="!check" # No tests
|
|
|
|
|
|
|
|
package() {
|
2022-11-13 21:47:32 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
make DESTDIR="$pkgdir" install_openrc
|
2021-05-24 05:26:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
openrc() {
|
|
|
|
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
|
|
|
default_openrc
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-12-12 00:58:56 +00:00
|
|
|
44f759dd2249ecce35f5baf9f432fd933e3a07b7ea425ea0f07314c7c3c94ce2d1ab7442d9bce8f03f5d436d15865ae3f4f63d3dc83cc6063af09986b7767e10 swclock-offset-0.2.2.tar.gz
|
2021-05-24 05:26:28 +00:00
|
|
|
"
|