void-packages/srcpkgs/gjs/template

34 lines
1.1 KiB
Text

# Template file for 'gjs'
pkgname=gjs
version=1.36.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libffi-devel libgirepository-devel dbus-glib-devel
cairo-devel readline-devel js-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/1.36/$pkgname-$version.tar.xz"
checksum=c55680d861d562f89171640c66e5d9ac4cb0c35f1af2495e2f45bbe494b983ca
long_desc="
Makes it possible for applications to use all of GNOME's platform libraries
using the Javascript language. It's mainly based on the Mozilla javascript
engine and the GObject introsepection framework."
gjs-devel_package() {
depends="libffi-devel libgirepository-devel dbus-glib-devel cairo-devel
readline-devel js-devel gjs>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
gjs_package() {
pkg_install() {
vmove usr
}
}