#Maintainer: Maximus (maximuus[at]gmail[dot]com)

pkgname=vala
pkgver=0.10.3
pkgrel=1mb
source=(http://ftp.gnome.org/pub/GNOME/sources/vala/0.10/vala-0.10.3.tar.bz2)
sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver
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
}