2013-12-14 18:40:55 +00:00
|
|
|
# Template file for 'cjs'
|
|
|
|
pkgname=cjs
|
2015-01-24 08:41:16 +00:00
|
|
|
version=2.4.1
|
2014-08-31 11:04:44 +00:00
|
|
|
revision=1
|
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
|
2014-08-31 11:04:44 +00:00
|
|
|
configure_args="--disable-static"
|
2015-01-24 08:41:16 +00:00
|
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection git glib-devel"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="mozjs24-devel dbus-glib-devel readline-devel"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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() {
|
2014-03-29 14:17:42 +00:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2013-12-14 18:40:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
cjs-devel_package() {
|
2015-01-24 08:41:16 +00:00
|
|
|
depends="${makedepends} ${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
|
|
|
|
}
|
|
|
|
}
|