summaryrefslogtreecommitdiffstats
path: root/extra/xfwm4/Pkgfile
blob: 20cb67e72bdb089e53b61a3ef8d4bf13427d71a4 (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, libxfcegui4, startup-notification, xfconf
# Run on: libxfce4ui,libwnck,libxfce4util,libxfcegui4,startup-notification,xfconf

name=xfwm4
version=4.8.2
release=1
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
}