summaryrefslogtreecommitdiffstats
path: root/extra/xfwm4/Pkgfile
blob: 26664708c73ac4088e792eefd1cd0e0d22807006 (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
# Description: Gestionnaire de fenêtres de Xfce
# URL: http://www.xfce.org/projects/xfwm4/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libxfce4ui,libwnck, libxfce4util, startup-notification, xfconf, dbus-glib
# Run on: libxfce4ui,libwnck,libxfce4util,libxfcegui4,startup-notification,xfconf,dbus-glib

name=xfwm4
version=4.8.2
release=2
source=(http://archive.xfce.org/src/xfce/$name/4.8/$name-$version.tar.bz2)

build() {
cd $name-$version
	./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--disable-static \
	--enable-compositor \
	--enable-xinerama
	make
	make DESTDIR=$PKG install
	rm -r $PKG/usr/share/doc
	mkdir -p $PKG/etc/xdg/autostart
	sed "s/xfwm4-settings/xfwm4/" $PKG/usr/share/applications/xfce-wm-settings.desktop > \
	$PKG/etc/xdg/autostart/xfce-wm-start.desktop
}