summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 62bbc96741f7869374559b41d8d5b828df16e350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Jaron Kent-Dobias <jaron@kent-dobias.com>

pkgname=prepare-lastboot
pkgver=1.4
pkgrel=1
pkgdesc='Support for ZFS fallback to a previous boot'
arch=(any)
license=(GPL3)
url='https://kent-dobias.com/system/prepare-lastboot'
depends=('zfs' 'zfs-utils' 'binutils')
makedepends=()
optdepends=('systemd-ukify: create addon efi executable')
source=(https://git.kent-dobias.com/system/prepare-lastboot/snapshot/prepare-lastboot-${pkgver}.tar.gz)
sha256sums=('673a87988de6fb619dbfa2ac31c173b70195a9d200c8b3b2548ce7a4620be527')
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"
}