summaryrefslogtreecommitdiffstats
path: root/main/libxfce4util/APKBUILD
blob: 9088e47c2ea86f99cdb34f7cb40ca0dd714cf5f3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4util
pkgver=4.10.1
pkgrel=1
pkgdesc="Basic utility non-GUI functions for Xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="glib-dev"
makedepends="$depends_dev intltool gtk-doc"
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="11eec87e8eda2bc62512c2416cb807a1  libxfce4util-4.10.1.tar.bz2"
sha256sums="e82cd1ad715c02a385b3cf6646cb89aa3c4724446dac1d7e424971df12f6cfbb  libxfce4util-4.10.1.tar.bz2"
sha512sums="5b8f1ddcd1cb84fc298ab1088644109aa720b04adfec4cf31c1bc2815baaf3e4771b6481f1cf2630f3b27a4d7a7178a9b6c464076c23ad8b514172c20852e770  libxfce4util-4.10.1.tar.bz2"