aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce-utils/APKBUILD
blob: 38325480fd4e79f3828c0fd40314002d547f3633 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce-utils
pkgver=4.7.1
pkgrel=0
pkgdesc="Utilities for Xfce"
url="http://www.xfce.org/"
license="GPL2"
subpackages="$pkgname-doc"
depends="hicolor-icon-theme"
makedepends="libxfce4ui-dev"
install=
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

build () { 
	cd "$srcdir"/$pkgname-$pkgver
	sed -i -e "s/share\/xsessions/sessions/g" Makefile.in || return 1
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--with-xsession-prefix=/etc/X11/
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="3311e57ea7376ba7913a8676a37d2932  xfce-utils-4.7.1.tar.bz2"