summaryrefslogtreecommitdiffstats
path: root/xfwm4/Pkgfile
blob: d76fd10ae06d9baf56e8e0d00c664fad6a9fc01b (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
# Description: Gestionnaire de fenêtres de Xfce
# URL: http://www.xfce.org/projects/xfwm4/
# Maintainer: git.xfce.org/xfce/xfwm4
# Packager: tyrry33 at gmail dot com
# Depends on: libxfce4ui,libwnck, libxfce4util, startup-notification, xfconf, dbus-glib
# Run on: libxfce4ui,libwnck,libxfce4util,startup-notification,xfconf,dbus-glib,xorg-libxrandr,xorg-libxres

name=xfwm4
version=4.10.0
release=1
source=(http://archive.xfce.org/xfce/4.10/src/$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
	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
}