From 29770320d00aeaf33743bb20f801b354fa8a1936 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:16:46 +0000 Subject: [PATCH] cinnamon-screensaver: extract update_* to external update file --- srcpkgs/cinnamon-screensaver/template | 2 -- srcpkgs/cinnamon-screensaver/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/cinnamon-screensaver/update diff --git a/srcpkgs/cinnamon-screensaver/template b/srcpkgs/cinnamon-screensaver/template index e1deef3ec53..b2213691725 100644 --- a/srcpkgs/cinnamon-screensaver/template +++ b/srcpkgs/cinnamon-screensaver/template @@ -16,8 +16,6 @@ conf_files="/etc/pam.d/${pkgname}" maintainer="Juan RP " license="GPL-3" homepage="http://cinnamon.linuxmint.com/" -update_site="https://api.github.com/repos/linuxmint/$pkgname/tags" -update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")' build_options="systemd" diff --git a/srcpkgs/cinnamon-screensaver/update b/srcpkgs/cinnamon-screensaver/update new file mode 100644 index 00000000000..97b9b492e35 --- /dev/null +++ b/srcpkgs/cinnamon-screensaver/update @@ -0,0 +1,2 @@ +site="https://api.github.com/repos/linuxmint/$pkgname/tags" +pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'