cjs: use github tag for sources; add missing dependencies to -devel pkg.

This commit is contained in:
Juan RP 2013-12-15 10:10:45 +01:00
parent 44a59cbf2e
commit 6de70139e7

View file

@ -1,7 +1,7 @@
# Template file for 'cjs' # Template file for 'cjs'
pkgname=cjs pkgname=cjs
version=2.0.0 version=2.0.0
revision=1 revision=2
short_desc="Javascript for Cinnamom" short_desc="Javascript for Cinnamom"
build_style=gnu-configure build_style=gnu-configure
configure_args=" --disable-static" configure_args=" --disable-static"
@ -10,15 +10,17 @@ makedepends="js-devel dbus-glib-devel readline-devel"
maintainer="Roelof Wobben <rwobben@hotmail.com>" maintainer="Roelof Wobben <rwobben@hotmail.com>"
license="GPL-3" license="GPL-3"
homepage="http://cinnamon.linuxmint.com/" 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() { pre_configure() {
./autogen.sh ./autogen.sh
} }
cjs-devel_package() { cjs-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="js-devel libglib-devel dbus-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove "usr/lib/*.so" vmove "usr/lib/*.so"