diff --git a/srcpkgs/mkinitcpio-encryptssh/template b/srcpkgs/mkinitcpio-encryptssh/template index 126a7dfa972..8b2d207e1bd 100644 --- a/srcpkgs/mkinitcpio-encryptssh/template +++ b/srcpkgs/mkinitcpio-encryptssh/template @@ -1,16 +1,16 @@ # Template file for 'mkinitcpio-encryptssh' pkgname=mkinitcpio-encryptssh version=0.16 -revision=1 -_realname=dropbear_initrd_encrypt -wrksrc="$_realname-$version-$revision" +revision=2 +_version_suffix=1 noarch=yes +wrksrc="dropbear_initrd_encrypt-${version}-${_version_suffix}" depends="mkinitcpio cryptsetup dropbear mkinitcpio-nfs-utils psmisc iproute2" short_desc="Allows for an encrypted root device to be unlocked remotely over SSH" maintainer="Andrea Brancaleoni " license="GPL-3" homepage="https://github.com/grazzolini/dropbear_initrd_encrypt" -distfiles="$homepage/archive/v$version-$revision.tar.gz" +distfiles="https://github.com/grazzolini/dropbear_initrd_encrypt/archive/v${version}-${_version_suffix}.tar.gz" checksum=6b24ea3d6e1ee55d304ca31707fe17c545f7ea843a13b764e22475f838c41eae do_install() {