void-packages/srcpkgs/cjs/template
2019-09-30 21:29:51 +02:00

34 lines
1 KiB
Bash

# Template file for 'cjs'
pkgname=cjs
version=4.2.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-profiler"
hostmakedepends="automake autoconf-archive libtool gnome-common pkg-config
gobject-introspection glib-devel dbus"
makedepends="mozjs52-devel dbus-glib-devel readline-devel gobject-introspection
gtk+3-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=77d1b9f0290135939ad03b60ac64ac637f05e886ba5b777b97f6742ee75af260
nocross="yes" # https://api.travis-ci.org/v3/job/590340360/log.txt
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
}
}