void-packages/srcpkgs/cjs/template
2016-11-20 12:58:14 +00:00

28 lines
842 B
Bash

# Template file for 'cjs'
pkgname=cjs
version=3.2.0
revision=2
short_desc="Javascript for Cinnamon"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection glib-devel"
makedepends="mozjs24-devel dbus-glib-devel readline-devel gobject-introspection"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/cjs/archive/${version}.tar.gz"
checksum=df55c1b89cea5d40d6a9950407a5d18915d2dde4e31670faeb0f5e4ba119edde
pre_configure() {
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
}
}