From 0e5fba2e8960ff7d85a54a3aa4ee7e131f8ba7be Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:17:21 +0000 Subject: [PATCH] linux-lts: extract update_* to external update file --- srcpkgs/linux-lts/template | 2 -- srcpkgs/linux-lts/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/linux-lts/update diff --git a/srcpkgs/linux-lts/template b/srcpkgs/linux-lts/template index 8671ab06de..7e3a58dd03 100644 --- a/srcpkgs/linux-lts/template +++ b/srcpkgs/linux-lts/template @@ -8,8 +8,6 @@ short_desc="Linux LTS (Long Term Support) kernel meta package" maintainer="Christian Neukirchen " license="Public domain" only_for_archs="i686 x86_64" -update_site="https://www.kernel.org/feeds/kdist.xml" -update_pattern="\K\d+.\d+(?=.[\d]+: longterm)" case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) diff --git a/srcpkgs/linux-lts/update b/srcpkgs/linux-lts/update new file mode 100644 index 0000000000..7ba2c318be --- /dev/null +++ b/srcpkgs/linux-lts/update @@ -0,0 +1,2 @@ +site="https://www.kernel.org/feeds/kdist.xml" +pattern="\K\d+.\d+(?=.[\d]+: longterm)"