summaryrefslogtreecommitdiffstats
path: root/kde/oxygen-icons/Pkgfile
blob: f48c27b946d85edff1aee9efb18773b727f2cb89 (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
# 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.4
release=1
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2 \
	http://nutyx.meticul.eu/files/patchs/$name/icon-pakxe.png)

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

	cp $SRC/icon-pakxe.png \
		$PKG//usr/share/icons/oxygen/256x256/places
	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/icon-pakxe.png \
		$PKG/usr/share/icons/oxygen/$i/places/start-here-kde.png
	done
	cd $SRC/$name-*
	find scalable -type f ! -name '*.sh' -exec \
		install -D -m644 "{}" $PKG/usr/share/icons/oxygen/{} \;
}