summaryrefslogtreecommitdiffstats
path: root/main/xfce4-vala/APKBUILD
blob: 97013e570b92ec6f9ec30b1718ec046807b4b7ef (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
34
35
36
37
38
39
40
41
42
43
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-vala
pkgver=4.8.0
pkgrel=1
pkgdesc="Vala bindings for Xfce4"
url="http://wiki.xfce.org/vala-bindings"
arch="x86 x86_64"
license="LGPL"
depends="exo-dev libxfce4util-dev libxfce4menu-dev libxfce4ui-dev
	xfce4-panel-dev xfconf-dev vala"
makedepends=""
install=
subpackages=
source="http://archive.xfce.org/src/bindings/xfce4-vala/${pkgver%.*}/xfce4-vala-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local _p
	cd "$_builddir"
	for _p in $source; do
		case $_p in
		*.patch) msg $_p; patch -p1 -i "$srcdir"/$_p || return 1;;
		esac
	done
	sed -i -e 's/vala-0\.10/libvala-0.12/g' configure
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

md5sums="0d2012486160767cb3a5583f61969b9c  xfce4-vala-4.8.0.tar.bz2"