summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4c017dbb40f92478c386b91e2b39047617f590a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Mark Collins <tera_1225 hat hotmail dote com>
pkgname=passless-boot
pkgver=0.3.1
pkgrel=2
pkgdesc="Perform a one-time password-less reboot on a luks encrypted root"
arch=('any')
url="https://gitlab.com/Marcool04/reboot-hdpassless/"
license=('GPL')
depends=(cryptsetup reboot-guard)
source=("https://gitlab.com/Marcool04/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('9630f74064d08bd80ee92d61c3f07cadbd667014b5d4069cfc11ae66f532a221')


package() {
	cd "$pkgname-$pkgver"
	mkdir -p "$pkgdir/usr/bin"
	mkdir -p "$pkgdir/etc/systemd/system/"
	chmod +x passless-boot.sh passless-boot_post_boot_cleanup.sh
	cp passless-boot_post_boot_cleanup.service "$pkgdir/etc/systemd/system"
	cp passless-boot.sh passless-boot_post_boot_cleanup.sh "$pkgdir/usr/bin"
}