summaryrefslogtreecommitdiff
path: root/user/vala/APKBUILD
blob: b9422dc0a82d194bcf5eabd057bc30d0674f83fb (plain) (blame)
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
28
29
30
31
32
33
34
35
36
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=vala
pkgver=0.42.3
pkgrel=0
pkgdesc="Compiler for the Vala programming language"
url="https://wiki.gnome.org/Projects/Vala"
arch="all"
license="LGPL-2.1+"
makedepends="glib-dev flex bison graphviz-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/vala/0.42/vala-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make tests
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="89dc3d208af3c3ab49cf9706187a6df9db7b7cd5ae033f733324532eed48d5f70cd150e9f07755376e0cc8b284a9bb380d7bd44a6bf669e38ca7826dbf8afb23  vala-0.42.3.tar.xz"