blob: a3253f7db42fb09fa59fb67748ae153dc66ae653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Mark Collins <tera_1225 hat hotmail dote com>
pkgname=passless-boot
pkgver=0.5.2
pkgrel=3
pkgdesc='Perform a one-time password-less reboot on a luks encrypted root'
arch=('any')
url="https://gitlab.com/Marcool04/$pkgname"
license=('GPL-3.0-or-later')
depends=(
'cryptsetup'
'bash'
)
optdepends=(
'reboot-guard' # this is in the AUR
)
source=("${url}/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('d156e946fea1ec735158103a07ed66699ea13e615ce8eff382e7351874b6c9f2')
package() {
cd "$pkgname-$pkgver"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/lib/systemd/system/"
chmod +x passless-boot.sh passless-boot_post_boot_cleanup.sh
cp passless-boot_post_boot_cleanup.service "$pkgdir/usr/lib/systemd/system/"
cp passless-boot.sh passless-boot_post_boot_cleanup.sh "$pkgdir/usr/bin"
}
|