summaryrefslogtreecommitdiffstats
path: root/xfce/xfdesktop/Pkgfile
blob: 6366d53e805113d57f9afae5e3b05ea0ce90be70 (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
31
# Description: Bureau de Xfce
# URL: http://www.xfce.org/projects/xfdesktop/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed do ch
# Depends on: dbus-glib, exo, libglade, libwnck, libxfce4menu, libxfce4util, libxfcegui4, libxml2, thunar, xfce4-panel, xfconf

name=xfdesktop
version=4.6.2
release=3
source=(http://www.xfce.org/archive/xfce-$version/src/$name-$version.tar.bz2 \
attapu.png nutyx2009_2.png)

build() {
cd $name-$version
	sed -i "s/xfce-stripes.png/attapu.png/" common/xfdesktop-common.h
	sed -i "s/xfce4_xicon1.png/nutyx2009_2.png/" panel-plugin/desktop-menu-plugin.c
	./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--disable-static
	make
	make DESTDIR=$PKG install
	install -D -m644 ../attapu.png \
	$PKG/usr/share/xfce4/backdrops/attapu.png
	install -D -m644 ../nutyx2009_2.png \
	$PKG/usr/share/pixmaps/nutyx2009_2.png
	sed -i "s/xfce4_xicon1/nutyx2009_2/" \
	$PKG/usr/share/xfce4/panel-plugins/xfce4-menu.desktop
}