void-packages/srcpkgs/gjs/template

25 lines
830 B
Plaintext

# Template file for 'gjs'
pkgname=gjs
version=1.40.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool gobject-introspection>=1.40"
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=2f0d80ec96c6284785143abe51377d8a284977ea6c3cf0cef1020d92eae41793
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"
}
}