aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-vala/APKBUILD
blob: 3809631204d14e982261c305131790160fb1311b (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.1
pkgrel=2
pkgdesc="Vala bindings for Xfce4"
url="http://wiki.xfce.org/vala-bindings"
arch="x86 x86_64"
license="LGPL"
depends="exo-dev libxfce4util-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 '/libvala/s/0.12/0.18/g' configure || return 1
}

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="33732067603818ac55e0fc7d0b99b033  xfce4-vala-4.8.1.tar.bz2"