bitcoin: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:16:42 +00:00
parent 15a820a988
commit 83174ca81c
2 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,6 @@ short_desc="Bitcoin is a peer-to-peer network based digital currency"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT" license="MIT"
homepage="http://www.bitcoin.org/" 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" distfiles="http://bitcoin.org/bin/${version}/bitcoin-${version}-linux.tar.gz"
checksum=c425783b6cbab9b801ad6a1dcc9235828b98e5dee6675112741f8b210e4f65cd checksum=c425783b6cbab9b801ad6a1dcc9235828b98e5dee6675112741f8b210e4f65cd

2
srcpkgs/bitcoin/update Normal file
View File

@ -0,0 +1,2 @@
site="https://bitcoin.org/en/download"
pattern='bitcoin-\K[\d.]+(?=-linux.tar.gz)'