diff --git a/srcpkgs/mkinitcpio-encryptssh/update b/srcpkgs/mkinitcpio-encryptssh/update index 86c9b7a005b..5f447f65e00 100644 --- a/srcpkgs/mkinitcpio-encryptssh/update +++ b/srcpkgs/mkinitcpio-encryptssh/update @@ -1,2 +1 @@ -site="https://api.github.com/repos/grazzolini/dropbear_initrd_encrypt/tags" -pattern='"name":\s*"[^\d]*\K([\d\.]+)' +pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\-1.tar\.gz")'