From c75cda9516b4cb4ce8d1554f2004a1ee7e950a9f Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:17:23 +0000 Subject: [PATCH] dolphin-emu: extract update_* to external update file --- srcpkgs/dolphin-emu/template | 2 -- srcpkgs/dolphin-emu/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/dolphin-emu/update diff --git a/srcpkgs/dolphin-emu/template b/srcpkgs/dolphin-emu/template index 366a266c221..4deb2bdfd59 100644 --- a/srcpkgs/dolphin-emu/template +++ b/srcpkgs/dolphin-emu/template @@ -21,8 +21,6 @@ short_desc="A Gamecube / Wii / Triforce emulator" maintainer="Juan RP " license="GPL-2" homepage="http://dolphin-emu.org" -update_site="https://api.github.com/repos/dolphin-emu/dolphin/tags" -update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")' distfiles="https://github.com/dolphin-emu/dolphin/archive/${version}.tar.gz" checksum=09f10f73abe0a7b5d10a51b3b56dc0044331bb12d6a18fe969c9bbd83a9b1129 diff --git a/srcpkgs/dolphin-emu/update b/srcpkgs/dolphin-emu/update new file mode 100644 index 00000000000..22f6762b023 --- /dev/null +++ b/srcpkgs/dolphin-emu/update @@ -0,0 +1,2 @@ +site="https://api.github.com/repos/dolphin-emu/dolphin/tags" +pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'