summaryrefslogtreecommitdiffstats
path: root/kde/oxygen-icons/Pkgfile
blob: 897055f75d92ffe916abb841ff7aef3bed9a201e (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
# Description: Platforme de developpement pour kde
# URL: http://www.kde.org
# Packager: NuTyX core team
# Maintainer: thierryn1 at hispeed dot ch
# Depends on: cmake, automoc4
# Run on: 

name=oxygen-icons
version=4.6.0
release=2
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 \
	http://nutyx.meticul.eu/files/patchs/$name/NuTyXlogo.png)

build() {
	cd $name-*
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release
	make 
	make DESTDIR=$PKG install

	cp $SRC/NuTyXlogo.png \
		$PKG//usr/share/icons/oxygen/256x256/places

	cd $SRC/$name-*
	find scalable -type f ! -name '*.sh' -exec \
		install -D -m644 "{}" $PKG/usr/share/icons/oxygen/{} \;

#	for i in 256x256 128x128 64x64 48x48 32x32 22x22 16x16
#		do rm $PKG//usr/share/icons/oxygen/$i/places/start-here-kde.png
#		ln -sv ../../256x256/places/NuTyXlogo.png \
#		$PKG//usr/share/icons/oxygen/$i/places/start-here-kde.png
#	done
}