summaryrefslogtreecommitdiff
path: root/user/vala/APKBUILD
blob: 7e3a3e7abbc1ae46290f4e7f183b05c91b4accd6 (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
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=vala
pkgver=0.50.0
pkgrel=0
pkgdesc="Compiler for the Vala programming language"
url="https://wiki.gnome.org/Projects/Vala"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="glib-dev flex byacc graphviz-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/vala/${pkgver%.*}/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="e749eceeec0f19f41bb08fd20ee677f910ed5f1aee79e64a2cd948dd382df39a5bc8292c9f09c44042ab2516a2155d6db36512a7b98800066c607d8c83a67dc1  vala-0.50.0.tar.xz"