aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-vala/APKBUILD
blob: 01b53eb28a8608affa2fd1dd2ac0015b4057e101 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-vala
pkgver=4.6.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 libxfcegui4-dev
	xfce4-panel-dev xfconf-dev vala"
makedepends=""
install=
subpackages=
source="http://archive.xfce.org/src/bindings/xfce4-vala/4.6/xfce4-vala-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	sed -i -e 's/vala-1\.0/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="0b74000bc2d999173af4ce98d32f5fc6  xfce4-vala-4.6.0.tar.bz2"