summaryrefslogtreecommitdiffstats
path: root/main/libxfce4util/APKBUILD
blob: a8d402f083946b3db2354b76c44b3803aaf07248 (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.12.0
pkgrel=0
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="c45fcad90bfc121ffa27cd9352c0c436  libxfce4util-4.12.0.tar.bz2"
sha256sums="ab8aca732c9a76ac2e42455eb9189738e69e9b1c626b42b6a37d795655d79df0  libxfce4util-4.12.0.tar.bz2"
sha512sums="cb0c15413892a7d51b071709ce04bccbc3d5e44151f2467985d8367524abed1e39745771c4aa532d5e16e77aaaf1d7f76c00d3d5e78cbd0e704bf57ce23aeab5  libxfce4util-4.12.0.tar.bz2"