cinnamon-translations: extract update_* to external update file
This commit is contained in:
parent
7a36bde37e
commit
c14223386e
|
@ -8,8 +8,6 @@ short_desc="Translations for Cinnamon and Nemo"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://cinnamon.linuxmint.com/"
|
homepage="http://cinnamon.linuxmint.com/"
|
||||||
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
|
||||||
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
||||||
|
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
Loading…
Reference in New Issue