void-packages/srcpkgs/cjs/template

35 lines
1.0 KiB
Bash

# Template file for 'cjs'
pkgname=cjs
version=4.6.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 <orphan@voidlinux.org>"
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=47f8abb867881594766fec1398d1b9117012826c5e72ecafb3153a0c8226bf81
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
}
}