#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=vala
pkgver=0.22.0
pkgrel=1gv
source=("http://ftp.gnome.org/pub/GNOME/sources/vala/0.22/vala-0.22.0.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://live.gnome.org/Vala

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"vala (a compiler for the GObject type system)"
"Vala is a new programming language that aims to bring modern"
"programming language features to GNOME developers without imposing any"
"additional runtime requirements and without using a different ABI"
"compared to applications and libraries written in C."
"valac, the Vala compiler, is a self-hosting compiler that translates"
"Vala source code into C source and header files. It uses the GObject"
"type system to create classes and interfaces declared in the Vala"
"source code."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
}