# Template file for 'cjs' pkgname=cjs version=4.2.0 revision=1 build_style=gnu-configure build_helper=gir configure_args="--disable-static --disable-profiler" hostmakedepends="automake autoconf-archive libtool gnome-common pkg-config gobject-introspection glib-devel dbus mozjs52-devel" makedepends="dbus-glib-devel readline-devel gobject-introspection gtk+3-devel mozjs52 mozjs52-devel" short_desc="Javascript for Cinnamon" maintainer="Orphaned " license="LGPL-2.0-or-later" homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/" distfiles="https://github.com/linuxmint/cjs/archive/${version}.tar.gz" checksum=77d1b9f0290135939ad03b60ac64ac637f05e886ba5b777b97f6742ee75af260 pre_configure() { cp ${FILESDIR}/ax_code_coverage.m4 m4/ NOCONFIGURE=1 ./autogen.sh } cjs-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove "usr/lib/*.so" vmove usr/include vmove usr/lib/pkgconfig } }