From ca1ecc6b2f16cd42a31c63602e47926a5d40ee98 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 27 Oct 2023 12:16:59 +0200 Subject: Initial commit. --- PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..eaf7f70 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Jaron Kent-Dobias + +pkgname=prepare-lastboot +pkgver=1.2 +pkgrel=1 +pkgdesc='Support for ZFS fallback to a previous boot' +arch=(any) +license=(GPL2) +url='https://kent-dobias.com/system/prepare-lastboot' +depends=('zfs' 'zfs-utils') +makedepends=() +optdepends=('systemd-ukify: create addon efi executable') +source=(https://git.kent-dobias.com/system/prepare-lastboot/snapshot/prepare-lastboot-${pkgver}.tar.gz) +sha256sums=('d6282aabcaf7e19feee5a7ec9348625795428edf7c15d216f3619b3377743ac0') +install='prepare-lastboot.install' + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -Dm 644 "prepare-lastboot@.service" "${pkgdir}/usr/lib/systemd/system/prepare-lastboot@.service" + install -Dm 644 "prepare-lastboot@.timer" "${pkgdir}/usr/lib/systemd/system/prepare-lastboot@.timer" + install -Dm 755 "prepare-lastboot" "${pkgdir}/usr/bin/prepare-lastboot" +} -- cgit v1.2.3-70-g09d2