summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d9bdd099c478ff8f51e7c10374740285b074754 (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
28
29
30
31
32
33
# Maintainer: YesDay <yesdayuk[you know]gmail[you know]com>
pkgname=dracut-crypt-ssh
pkgver=1.0.3
pkgrel=1
pkgdesc="Dracut initramfs module to start dropbear sshd during boot to 
enter LUKS passphrase remotely"
arch=("i686" "x86_64" "aarch64")
url="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh"
license=('GPL2')
depends=("dracut" "dhclient" "dropbear")
provides=("$pkgname-git")
conflicts=("$pkgname-git")
backup=("etc/dracut.conf.d/crypt-ssh.conf")
source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('SKIP')

build() {
    cd "$pkgname-$pkgver"
    ./configure --prefix=/usr
    make
}

# Check target is not available.
# make: *** No rule to make target 'check'.
#check() {
#    cd "$pkgname-$pkgver"
#    make -k check
#}

package() {
    cd "$pkgname-$pkgver"
    make DESTDIR="$pkgdir/" install
}