### this file is sourced not run
PKGVER=0.56.4
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3
TARBALL=vala-$PKGVER.tar.xz
MD5SUM=dbb3d5b4616211e68093676099d44d56
SRC_URL=http://download.gnome.org/sources/vala/0.56/$TARBALL
BUNDLE=

SLACKREQ='glib' # and graphviz-base or other versions of graphviz
SLACKDESC="vala: vala $PKGVER (Vala compiler)
vala:
vala: Vala is an object-oriented programming language with a self-hosting
vala: compiler that generates C code and uses the GObject system. Vala is
vala: syntactically similar to C# and includes several features such as:
vala: anonymous functions, signals, properties, generics, assisted memory
vala: management, exception handling, type inference, and foreach statements.
vala:
vala: https://wiki.gnome.org/Projects/Vala
vala: 

"
SLACKCON='vala'

### default pkg_download
### default pkg_prepare
### default pkg_package
pkg_package() {
	# add our gtk2 version of libnotify
	local P=$(echo ./usr/share/vala-*/vapi)
	cp -v $P/libnotify.deps $P/libnotify-gtk2.deps &&
	cp -v ./tmp/pkg/vala-libnotify-0.5.2.vapi $P/libnotify-gtk2.vapi &&
	true
}

### build
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

# vim:ft=sh:
