summaryrefslogblamecommitdiff
path: root/user/vala/APKBUILD
blob: c2a4c89b77d8fa05d3238820f36b70a21ad97a66 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                           
             






                                                    
                                                                         






















                                         
                                                                                                                                                                 
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=vala
pkgver=0.42.4
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="897658874d89f7e34a6167cd055fa64c8fc4a870330a734ea20bd526a79d8d35033325b23e8533bcf59f02e7157310632ebfb5305619505d37fbdc2fd6343330  vala-0.42.4.tar.xz"