summaryrefslogtreecommitdiff
path: root/repo/devel/vala.xibuild
blob: a457ccaad4cdf76e1cb9bdebb6e0cce286bbd357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="libxslt bash flex bison gobject-introspection graphviz"
DEPS="glib graphviz musl pkgconf"

PKG_VER=0.54.7
SOURCE=https://download.gnome.org/sources/vala/${PKG_VER%.*}/vala-$PKG_VER.tar.xz
DESC="Compiler for the GObject type system"

prepare () {
	sed -i "/constants\/member-access/d" \
		tests/Makefile.in
}

build () {
    ./configure \
		--prefix=/usr
	make

}
package () {
    make DESTDIR=$PKG_DEST install
}