void-packages/srcpkgs/gjs/template

24 lines
806 B
Text

# Template file for 'gjs'
pkgname=gjs
version=1.38.1
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libffi-devel libgirepository-devel dbus-glib-devel
cairo-devel readline-devel>=6.3 mozjs17-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=6b2065a0e7bd1db562a70c5fd52ea2499097f1cf02c9c279d1b82b660bfb8176
gjs-devel_package() {
depends="libgirepository-devel mozjs17-devel gjs>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}