aboutsummaryrefslogtreecommitdiffstats
path: root/main/vala/APKBUILD
blob: 2da2535d98940980412b115e318cce727f30a534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vala
pkgver=0.11.2
pkgrel=0
pkgdesc="Compiler for the GObject type system"
url="http://live.gnome.org/Vala"
arch="x86 x86_64"
license="LGPL"
subpackages="$pkgname-doc"
depends="glib-dev"
makedepends="libxslt-dev bash glib-dev flex bison"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz"

build ()
{
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--enable-vapigen || return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="e16c398ef1af503dea64b6cd59142bb2  vala-0.11.2.tar.gz"