void-packages/srcpkgs/gjs/template

25 lines
827 B
Bash
Raw Normal View History

# Template file for 'gjs'
pkgname=gjs
2015-01-13 11:21:21 +01:00
version=1.42.0
revision=2
2012-09-25 15:20:36 +02:00
build_style=gnu-configure
2015-01-13 11:34:30 +01:00
hostmakedepends="pkg-config intltool glib-devel gobject-introspection"
makedepends="libffi-devel libgirepository-devel dbus-glib-devel
cairo-devel readline-devel mozjs24-devel"
short_desc="Mozilla-based javascript bindings for the GNOME platform"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-01-14 08:59:56 +01:00
license="MPL-1.1, LGPL-2.1, GPL-2"
2012-09-25 15:20:36 +02:00
homepage="http://live.gnome.org/Gjs"
2013-09-26 13:57:17 +02:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2015-01-13 11:21:21 +01:00
checksum=0c9afb7d5be6ead5b68059596f08eb7c3902b1676ee9c8846aa8df09647dba13
gjs-devel_package() {
depends="libgirepository-devel mozjs24-devel gjs>=${version}_${revision}"
2013-04-22 19:58:42 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-09-26 13:57:17 +02:00
vmove "usr/lib/*.so"
}
}