summaryrefslogtreecommitdiffstats
path: root/main/libxfcegui4/APKBUILD
blob: 164c91312decba5cb53009c19878d5d7766112b0 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfcegui4
pkgver=4.10.0
pkgrel=1
pkgdesc="Basic GUI functions for Xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
makedepends="$depends_dev libglade-dev"
source="http://archive.xfce.org/src/archive/${pkgname}/${pkgver%.*}/${pkgname}-${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
	find "$pkgdir" -name '*.la' -delete
}

md5sums="4025b9d6811f051c914cdd700d437e61  libxfcegui4-4.10.0.tar.bz2"