void-packages/srcpkgs/cjs/template
2015-07-05 11:37:02 +02:00

28 lines
820 B
Bash

# Template file for 'cjs'
pkgname=cjs
version=2.6.2
revision=1
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"
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=742e5a98281c3aff3127113352e920151468fd3c55214aa9c9ed09704efa70a0
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
}
}