summaryrefslogtreecommitdiffstats
path: root/main/xfce4-dev-tools/APKBUILD
blob: fc6f7b999b9dc8de2668e0c5b46a9bf012944944 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-dev-tools
pkgver=4.10.0
pkgrel=0
pkgdesc="Xfce developer tools"
url="http://www.xfce.org/"
arch="all"
license="GPL2"
depends="automake autoconf make intltool pkgconfig libtool gtk-doc glib-dev"
makedepends=
source="http://archive.xfce.org/src/xfce/xfce4-dev-tools/${pkgver%.*}/xfce4-dev-tools-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

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

md5sums="372b74f432e7e02d946c2ea9d3de2805  xfce4-dev-tools-4.10.0.tar.bz2"