summaryrefslogtreecommitdiff
path: root/user/vala/APKBUILD
blob: 3ced69237633febff9589c5de79285d94b5f1479 (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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=vala
pkgver=0.44.6
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 byacc graphviz-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/vala/0.44/vala-$pkgver.tar.xz"

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

check() {
	make tests
}

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

sha512sums="7b0fa6da3b7ecfe5d6731e64a7803e3dde38e843c269e7bd0d9d92dbbba2823bd17689bceec3e2ee6cf8f7884a5e1e11e1699e98808a32fef2167221bdc7b8a2  vala-0.44.6.tar.xz"