void-packages/srcpkgs/gjs/template
2015-01-13 11:34:30 +01:00

24 lines
835 B
Bash

# Template file for 'gjs'
pkgname=gjs
version=1.42.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel gobject-introspection"
makedepends="libffi-devel libgirepository-devel>=1.40 dbus-glib-devel
cairo-devel readline-devel>=6.3 mozjs24-devel"
short_desc="Mozilla-based javascript bindings for the GNOME platform"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MPL-1.1, LGPL-2.1, GPL-2"
homepage="http://live.gnome.org/Gjs"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=0c9afb7d5be6ead5b68059596f08eb7c3902b1676ee9c8846aa8df09647dba13
gjs-devel_package() {
depends="libgirepository-devel mozjs24-devel gjs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}