summaryrefslogtreecommitdiffstats
path: root/extra/lxde-common/Pkgfile
blob: 6de3fce0a7d26978da84fa28640c2a22abcd0c6f (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, lxde-icon-theme

name=lxde-common
version=0.5.0
release=3
source=(http://downloads.sourceforge.net/lxde/files/$name-$version.tar.gz\
	config chrystal_red_root.png attapu.jpg lxde-common-$version-nutyx-02.patch\
	nutyx2009_2.png)

build() {
cd $name-$version
patch -Np1 -i ../$name-$version-nutyx-02.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/attapu.jpg/" \
$PKG/usr/share/lxde/pcmanfm/main.lxde
install -D -m644 ../config \
	$PKG/usr/share/lxde/config
install -D -m644 ../attapu.jpg \
	$PKG/usr/share/lxde/wallpapers/attapu.jpg
install -D -m644 ../nutyx2009_2.png \
	$PKG/usr/share/lxde/images/nutyx2009_2.png
install -D -m644 ../chrystal_red_root.png \
	$PKG/usr/share/lxpanel/images/chrystal_red_root.png
}