void-packages/srcpkgs/vala/template
maxice8 5609006760 vala: update to 0.38.4.
Closes: #9919 [via git-merge-pr]
2017-12-13 09:28:35 +01:00

36 lines
950 B
Bash

# Template file for 'vala'
pkgname=vala
version=0.38.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config flex libxslt automake libtool"
makedepends="libglib-devel libfl-devel graphviz-devel"
checkdepends="dbus gir-freedesktop libgirepository-devel"
short_desc="Compiler for the GObject type system"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://live.gnome.org/Vala"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
checksum=2cb33a63bd17737e72f5f4f9ca4109f398500ee1f17a01ff4ef94139b07ae5e9
pre_configure() {
autoreconf -fi
}
libvala_package() {
short_desc+=" - shared library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
vala-devel_package() {
depends="libglib-devel vala>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/aclocal
vmove usr/share/devhelp
}
}