37 lines
945 B
Bash
37 lines
945 B
Bash
# Template file for 'vala'
|
|
pkgname=vala
|
|
version=0.40.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="flex libxslt pkg-config automake libtool"
|
|
makedepends="graphviz-devel libfl-devel libglib-devel"
|
|
checkdepends="dbus libgirepository-devel"
|
|
short_desc="Compiler for the GObject type system"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://live.gnome.org/Vala"
|
|
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
|
|
checksum=6da450f1a73e0f1e17506e68cce5b9e8996349e576d3f8cb6b0b73ee22e44be2
|
|
|
|
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
|
|
}
|
|
}
|