cjs: extract update_* to external update file
This commit is contained in:
parent
0bb0bf9910
commit
5bb1a09dc1
2 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,6 @@ makedepends="js-devel dbus-glib-devel readline-devel>=6.3"
|
|||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://cinnamon.linuxmint.com/"
|
||||
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
||||
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
||||
|
||||
do_fetch() {
|
||||
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
||||
|
|
2
srcpkgs/cjs/update
Normal file
2
srcpkgs/cjs/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
||||
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
Loading…
Reference in a new issue