From e0c562b46d4e6312e24a3b4c3dd8029874147ff3 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:17:37 +0000 Subject: [PATCH] astyle: extract update_* to external update file --- srcpkgs/astyle/template | 1 - srcpkgs/astyle/update | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 srcpkgs/astyle/update diff --git a/srcpkgs/astyle/template b/srcpkgs/astyle/template index 4efa810b50..80514e5fa6 100644 --- a/srcpkgs/astyle/template +++ b/srcpkgs/astyle/template @@ -9,7 +9,6 @@ short_desc="A free, fast and small automatic formatter for C, C++, C#, and Java maintainer="Juan RP " license="LGPL-3" homepage="http://astyle.sourceforge.net" -update_pattern='astyle_\K[\d.]+(?=_linux)' distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz" checksum=fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac diff --git a/srcpkgs/astyle/update b/srcpkgs/astyle/update new file mode 100644 index 0000000000..9c579fc9ae --- /dev/null +++ b/srcpkgs/astyle/update @@ -0,0 +1 @@ +pattern='astyle_\K[\d.]+(?=_linux)'