aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/vala/APKBUILD23
1 files changed, 7 insertions, 16 deletions
diff --git a/main/vala/APKBUILD b/main/vala/APKBUILD
index bb5166b679..f7ef2a00c5 100644
--- a/main/vala/APKBUILD
+++ b/main/vala/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vala
-pkgver=0.33.1
+pkgver=0.34.2
pkgrel=0
pkgdesc="Compiler for the GObject type system"
url="http://live.gnome.org/Vala"
@@ -12,19 +12,10 @@ makedepends="libxslt-dev bash glib-dev flex bison"
source="http://download.gnome.org/sources/vala/${pkgver%.*}/vala-$pkgver.tar.xz
version.patch"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,13 +25,13 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="9be534bba7d46467615a7a83adf16cbd vala-0.33.1.tar.xz
+md5sums="f9b4a0a10b76b56b0b6e914c506a6828 vala-0.34.2.tar.xz
99524c2de7df37c95f314709a041ac65 version.patch"
-sha256sums="e788eca50e5a79bb5c904ceddbe463a53495f04698217e80f6e4e0f25e95de19 vala-0.33.1.tar.xz
+sha256sums="765e9c2b429a66db93247940f8588319b43f35c173d057bcae5717a97d765c41 vala-0.34.2.tar.xz
f9b8c4393e6a81f261bdd9a74cb41416736eb68365d03fc4e6889e305755f97d version.patch"
-sha512sums="1c8d6f7761d1e9a06b2a9aacdc359a66da0b96f93c6c004e23ee0fcdb9f2c7800ff44edb6a1d86570e81e1ff5edb61babacc6d37d14eacd475814201e46d066a vala-0.33.1.tar.xz
+sha512sums="c86446c7568860411a443563b3350a29eb17033c386197e7fd133d913c0fb9e04f308b4b9fa9f2d2f13f11b446a9c13b1c3001809e630eb2731f2479e928a0ea vala-0.34.2.tar.xz
2c999fb516dd6ed74cb05307c0725bb20d6112cd1a2427a742a9856e1167fe39f9a71253f4dd9d0f53a88a9f29229063e53262b8257f60a71d0cfb168e3f7eb8 version.patch"