void-packages/srcpkgs/gjs/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

24 lines
824 B
Bash

# Template file for 'gjs'
pkgname=gjs
version=1.42.0
revision=2
build_style=gnu-configure
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@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=0c9afb7d5be6ead5b68059596f08eb7c3902b1676ee9c8846aa8df09647dba13
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"
}
}