2013-12-14 18:40:55 +00:00
|
|
|
# Template file for 'cjs'
|
|
|
|
pkgname=cjs
|
|
|
|
version=2.0.0
|
2014-02-27 13:54:19 +00:00
|
|
|
revision=4
|
2013-12-15 17:04:37 +00:00
|
|
|
short_desc="Javascript for Cinnamon"
|
2013-12-14 18:40:55 +00:00
|
|
|
build_style=gnu-configure
|
2013-12-15 09:25:54 +00:00
|
|
|
configure_args=" --disable-static"
|
|
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection"
|
2014-02-27 13:54:19 +00:00
|
|
|
makedepends="js-devel dbus-glib-devel readline-devel>=6.3"
|
2013-12-29 16:48:49 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-12-14 18:40:55 +00:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
2013-12-15 09:10:45 +00:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
|
|
|
}
|
2013-12-14 18:40:55 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
cjs-devel_package() {
|
2013-12-15 09:10:45 +00:00
|
|
|
depends="js-devel libglib-devel dbus-devel ${sourcepkg}>=${version}_${revision}"
|
2013-12-14 18:40:55 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
2013-12-15 09:40:04 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-12-14 18:40:55 +00:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|