summaryrefslogtreecommitdiff
path: root/user/vala/APKBUILD
blob: d48752097bfaf4a4b8fd0c6387bc84225d9a932e (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=vala
pkgver=0.54.9
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"
options="!check"
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 check
}

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

sha512sums="74a06321ff9d713a5aa8d390e3b9f0dd1249c5292ae84b8089f903639731bf56b064b536972ea65de377775f1a569a4abf4c86bffe204d19453af44d5ee5107b  vala-0.54.9.tar.xz"