cinnamon: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:31 +00:00
parent 96a16e1ba9
commit 371229af2f
2 changed files with 2 additions and 2 deletions

View file

@ -22,8 +22,6 @@ depends="
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/Cinnamon/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/Cinnamon ${pkgname}-${version}

2
srcpkgs/cinnamon/update Normal file
View file

@ -0,0 +1,2 @@
site="https://api.github.com/repos/linuxmint/Cinnamon/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'