void-packages/srcpkgs/gjs/template

25 lines
830 B
Plaintext

# Template file for 'gjs'
pkgname=gjs
version=1.40.0
revision=2
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=545fd7da8ee90ccd25d15c3eb8f1e59a1e04366237af6468613816fac840c8f9
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"
}
}