summaryrefslogtreecommitdiffstats
path: root/extra/lxde-common/Pkgfile
blob: 1eabf758cdbb758a04ed1f5c943bc62a8d01bf5b (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
32
33
34
35
# Description: set of default configuration for LXDE
# URL:         http://lxde.org/about.html
# Maintainer: NuTyX core team
# Packager: geantbrun at gmail dot com
# Depends on: gtk

name=lxde-common
version=0.4.2
release=3
source=(http://downloads.sourceforge.net/lxde/files/$name-$version.tar.bz2\
	config nutyx2009.png flamesblue.png lxde-common-0.4.2-nutyx-01.patch\
	bouton02.png)

build() {
cd $name-$version
patch -Np1 -i ../$name-$version-nutyx-01.patch
./configure --prefix=/usr \
	--sysconfdir=/etc
make
make DESTDIR=$PKG install
sed -i "s/gnome-terminal/lxterminal/" \
$PKG/usr/share/lxpanel/profile/LXDE/panels/panel
	sed -i "s/lxde_blue.jpg/nutyx2009.png/" \
$PKG/usr/share/lxde/pcmanfm/main.lxde
install -D -m644 ../config \
	$PKG/usr/share/lxde/config
install -D -m644 ../nutyx2009.png \
	$PKG/usr/share/lxde/wallpapers/nutyx2009.png
install -D -m644 ../bouton02.png \
	$PKG/usr/share/lxde/images/bouton02.png
install -D -m644 ../flamesblue.png \
	$PKG/usr/share/lxpanel/images/flamesblue.png
}