diff --git a/srcpkgs/cjs/template b/srcpkgs/cjs/template index 5b8f299bb0..4e61b14a1b 100644 --- a/srcpkgs/cjs/template +++ b/srcpkgs/cjs/template @@ -10,8 +10,6 @@ makedepends="js-devel dbus-glib-devel readline-devel>=6.3" maintainer="Juan RP " 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} diff --git a/srcpkgs/cjs/update b/srcpkgs/cjs/update new file mode 100644 index 0000000000..97b9b492e3 --- /dev/null +++ b/srcpkgs/cjs/update @@ -0,0 +1,2 @@ +site="https://api.github.com/repos/linuxmint/$pkgname/tags" +pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'