summaryrefslogtreecommitdiffstats
path: root/extra/lxde-common/Pkgfile
blob: abd50b3905155c63f98d87319a61757a15712143 (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
# 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=2
source=(http://downloads.sourceforge.net/lxde/files/$name-$version.tar.bz2\
	config WallPaper.jpg)

build() {
cd $name-$version
./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/WallPaper.jpg/" \
$PKG/usr/share/lxde/pcmanfm/main.lxde
install -D -m644 ../config \
	$PKG/usr/share/lxde/config
install -D -m644 ../WallPaper.jpg \
	$PKG/usr/share/lxde/wallpapers/WallPaper.jpg
}