APKBUILD 1.25 KB
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2 3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-session
pkgver=4.6.1
4
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
5 6 7 8 9 10 11 12
pkgdesc="A session manager for Xfce"
url="http://www.xfce.org/"
license="GPL2"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="pkgconfig libxfcegui4-dev libwnck-dev libglade-dev intltool
	gettext-dev libiconv-dev iceauth libice-dev libsm-dev expat-dev
	e2fsprogs-dev zlib-dev"
depends="hicolor-icon-theme"
13
install=
Natanael Copa's avatar
Natanael Copa committed
14
source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2
15
	busybox-shutdown.patch"
Natanael Copa's avatar
Natanael Copa committed
16 17 18

depends_dev="libxfcegui4-dev xfconf-dev"

19
build() {
Natanael Copa's avatar
Natanael Copa committed
20
	cd "$srcdir"/$pkgname-$pkgver
21 22
	patch -p1 -i ../busybox-shutdown.patch || return 1

Natanael Copa's avatar
Natanael Copa committed
23 24 25 26 27 28 29 30
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		--enable-legacy-sm \
		--disable-gnome \
		--enable-session-screenshots \
31
		|| return 1
Natanael Copa's avatar
Natanael Copa committed
32
	make || return 1
33 34 35 36
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
37
	make DESTDIR="$pkgdir" install || return 1
38 39 40 41
	# tips doesnt work and i dont like them.
	# just remove to save space
	rm -f "$pkgdir"/etc/xdg/autostart/xfce4-tips-autostart.desktop \
		"$pkgdir"/usr/bin/xfce4-tips
Natanael Copa's avatar
Natanael Copa committed
42 43 44
}

md5sums="7628be41ed3511a20cff5673d9d39858  xfce4-session-4.6.1.tar.bz2
45
bfd9132f08f4a92efbe982fb911c511c  busybox-shutdown.patch"