From 522664544b2c77db082ea20ee76edb646c8261b4 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:17:41 +0000 Subject: [PATCH] trace-cmd: extract update_* to external update file --- srcpkgs/trace-cmd/template | 1 - srcpkgs/trace-cmd/update | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 srcpkgs/trace-cmd/update diff --git a/srcpkgs/trace-cmd/template b/srcpkgs/trace-cmd/template index 78d9e68d0d4..5041aef8ce5 100644 --- a/srcpkgs/trace-cmd/template +++ b/srcpkgs/trace-cmd/template @@ -11,7 +11,6 @@ short_desc="Tools to use Ftrace Linux kernel internal tracer" maintainer="Christian Neukirchen " license="GPL-2, LGPL-2.1" homepage="http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git/" -update_pattern='trace-cmd-v\K[\d.]+' do_fetch() { git clone -b ${pkgname}-v${version} git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git ${pkgname}-${version} diff --git a/srcpkgs/trace-cmd/update b/srcpkgs/trace-cmd/update new file mode 100644 index 00000000000..c4ecedf82c5 --- /dev/null +++ b/srcpkgs/trace-cmd/update @@ -0,0 +1 @@ +pattern='trace-cmd-v\K[\d.]+'