From 808fae3cc177e0824165398e1cd7b6683aadec1d Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Wed, 15 Aug 2012 10:50:16 -0500
Subject: vala: .16.1

---
 abs/extra/vala/PKGBUILD | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/abs/extra/vala/PKGBUILD b/abs/extra/vala/PKGBUILD
index b816dd4..3d0681d 100644
--- a/abs/extra/vala/PKGBUILD
+++ b/abs/extra/vala/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 97141 2010-10-26 21:06:27Z ibiru $
+# $Id: PKGBUILD 162223 2012-06-23 20:04:12Z ibiru $
 # Maintainer : Ionut Biru <ibiru@archlinux.org>
 # Contributor: Timm Preetz <timm@preetz.us>
 
 pkgname=vala
-pkgver=0.10.1
+pkgver=0.16.1
 pkgrel=1
 pkgdesc="Compiler for the GObject type system"
 arch=('i686' 'x86_64')
@@ -12,13 +12,16 @@ license=('LGPL')
 depends=('glib2')
 makedepends=('libxslt')
 options=('!libtool')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.10/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('eae1d2f52b651e9d2ed31ae0877ab671b5f796a3013c714f86a926806337805a')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('8be28ff6347feecb391220ceb4e2209d32b697278e87ed7fc6c9fb1e9345e0d8')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+    cd $pkgname-$pkgver
+    ./configure --prefix=/usr --enable-vapigen
+    make
+}
 
-  ./configure --prefix=/usr --enable-vapigen
-  make
-  make DESTDIR="${pkgdir}" install
+package() {
+    cd $pkgname-$pkgver
+    make DESTDIR="$pkgdir" install
 }
-- 
cgit v0.12

