24 lines
861 B
Bash
24 lines
861 B
Bash
# Template file for 'gjs'
|
|
pkgname=gjs
|
|
version=1.50.0
|
|
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 mozjs52-devel"
|
|
short_desc="Mozilla-based javascript bindings for the GNOME platform"
|
|
maintainer="Enno Boland <gottox@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=2d529d315fc926995c5174d0ac45dacd604e52b9213ba3c4cd77f30bc4aec945
|
|
|
|
gjs-devel_package() {
|
|
depends="libgirepository-devel mozjs52-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|