summaryrefslogtreecommitdiffstats
path: root/extra/lxde-common/Pkgfile
blob: a09dce407ae3b0e58505c4319f9c0701f6d9d2bd (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
36
37
38
39
40
# 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
# Run on: gtk,lxde-icon-theme

name=lxde-common
version=0.5.0
release=4
source=(http://downloads.sourceforge.net/lxde/files/$name-$version.tar.gz\
	http://nutyx.meticul.eu/files/patchs/$name/config \
	http://nutyx.meticul.eu/files/patchs/$name/chrystal_red_root.png \
	http://nutyx.meticul.eu/files/patchs/$name/attapu.jpg \
	http://nutyx.meticul.eu/files/patchs/$name/lxde-common-$version-nutyx-02.patch \
	http://nutyx.meticul.eu/files/patchs/$name/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
}