aboutsummaryrefslogtreecommitdiffstats
path: root/main/vala/APKBUILD
blob: 2562e81082962360cbbc4c563b61c6923a32c875 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vala
pkgver=0.42.4
pkgrel=0
pkgdesc="Compiler for the GObject type system"
url="http://live.gnome.org/Vala"
arch="all"
options="!check"  # Test requires dbus-launch.
license="LGPL-2.0-or-later"
subpackages="$pkgname-doc"
depends="glib-dev"
makedepends="libxslt-dev bash glib-dev flex bison gobject-introspection-dev graphviz-dev"
source="https://download.gnome.org/sources/vala/${pkgver%.*}/vala-$pkgver.tar.xz
	version.patch"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

sha512sums="897658874d89f7e34a6167cd055fa64c8fc4a870330a734ea20bd526a79d8d35033325b23e8533bcf59f02e7157310632ebfb5305619505d37fbdc2fd6343330  vala-0.42.4.tar.xz
2c999fb516dd6ed74cb05307c0725bb20d6112cd1a2427a742a9856e1167fe39f9a71253f4dd9d0f53a88a9f29229063e53262b8257f60a71d0cfb168e3f7eb8  version.patch"