From 83174ca81cf46205f07ea71dda6129982113bc32 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 15 Jan 2015 11:16:42 +0000 Subject: [PATCH] bitcoin: extract update_* to external update file --- srcpkgs/bitcoin/template | 2 -- srcpkgs/bitcoin/update | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/bitcoin/update diff --git a/srcpkgs/bitcoin/template b/srcpkgs/bitcoin/template index 1a31a8ea85e..a302717ff07 100644 --- a/srcpkgs/bitcoin/template +++ b/srcpkgs/bitcoin/template @@ -9,8 +9,6 @@ short_desc="Bitcoin is a peer-to-peer network based digital currency" maintainer="Juan RP " license="MIT" homepage="http://www.bitcoin.org/" -update_site="https://bitcoin.org/en/download" -update_pattern='bitcoin-\K[\d.]+(?=-linux.tar.gz)' distfiles="http://bitcoin.org/bin/${version}/bitcoin-${version}-linux.tar.gz" checksum=c425783b6cbab9b801ad6a1dcc9235828b98e5dee6675112741f8b210e4f65cd diff --git a/srcpkgs/bitcoin/update b/srcpkgs/bitcoin/update new file mode 100644 index 00000000000..290264346fe --- /dev/null +++ b/srcpkgs/bitcoin/update @@ -0,0 +1,2 @@ +site="https://bitcoin.org/en/download" +pattern='bitcoin-\K[\d.]+(?=-linux.tar.gz)'