cjs: use github tag for sources; add missing dependencies to -devel pkg.
This commit is contained in:
parent
44a59cbf2e
commit
6de70139e7
1 changed files with 6 additions and 4 deletions
|
@ -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 <rwobben@hotmail.com>"
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue