Files
pmaports-rtwo/main/swclock-offset/APKBUILD
T
Clayton Craft e63c70b6e8 Rebuild -systemd subpkgs
These packages were previously built by a WIP abuild patch that added
install scripts to each -systemd subpkg for handling preset application
on install and symlink cleanup on uninstall. This functionality has been
replaced by a trigger/commit hook, so we need to rebuild these packages
to drop the install scripts that were previously generated.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00

27 lines
814 B
Bash

# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=swclock-offset
pkgver=0.2.6
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="
b4efe86cee51d0b6f50ba011d386f50e9e3ea29b59fed90025454070330d8b6dd34fcd597b80984bb553def04a27922c3d0d39ddae7c90e046c7cbafa90db7b2 swclock-offset-0.2.6.tar.gz
"