void-packages/srcpkgs/gjs/template
Sir_Boops 3a0d325157 gjs: update to 1.48.5
Closes: #6929 [via git-merge-pr]
2017-07-02 23:02:42 -07:00

24 lines
849 B
Bash

# Template file for 'gjs'
pkgname=gjs
version=1.48.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel gobject-introspection"
makedepends="libffi-devel libgirepository-devel dbus-glib-devel
cairo-devel readline-devel mozjs38-devel"
short_desc="Mozilla-based javascript bindings for the GNOME platform"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-1.1, LGPL-2.1, GPL-2"
homepage="https://wiki.gnome.org/action/show/Projects/Gjs"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=cc37998e283b6e25e1814026aa5bb96e145e1ce902b02133977bbdac8db3e042
gjs-devel_package() {
depends="libgirepository-devel mozjs38-devel gjs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}