33 lines
854 B
Bash
33 lines
854 B
Bash
# Template file for 'vala'
|
|
pkgname=vala
|
|
version=0.34.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-vapigen"
|
|
hostmakedepends="pkg-config flex libxslt"
|
|
makedepends="libglib-devel libfl-devel"
|
|
short_desc="Compiler for the GObject type system"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://live.gnome.org/Vala"
|
|
license="LGPL-2.1"
|
|
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
|
|
checksum=d1e32d6c55c2d66964d30b7410b78f5f313f1231fc3502da9980c3c80a797bb1
|
|
|
|
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
|
|
}
|
|
}
|