diff --git a/srcpkgs/cjs/template b/srcpkgs/cjs/template index 6e833f559b..5211d54c50 100644 --- a/srcpkgs/cjs/template +++ b/srcpkgs/cjs/template @@ -1,7 +1,7 @@ # Template file for 'cjs' pkgname=cjs version=2.0.0 -revision=1 +revision=2 short_desc="Javascript for Cinnamom" build_style=gnu-configure configure_args=" --disable-static" @@ -10,15 +10,17 @@ makedepends="js-devel dbus-glib-devel readline-devel" maintainer="Roelof Wobben " license="GPL-3" homepage="http://cinnamon.linuxmint.com/" -distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" -checksum=2fea6c491e6ce8567201f14c0e926181154d798d4811dd65da477c014bfb2a9a + +do_fetch() { + git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version} +} pre_configure() { ./autogen.sh } cjs-devel_package() { - depends="${sourcepkg}>=${version}_${revision}" + depends="js-devel libglib-devel dbus-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove "usr/lib/*.so"