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

name=oxygen-icons
version=4.4.1
release=1
source=(http://download.kde.org/stable/$version/src/$name-$version.tar.bz2\
	NuTyXlogo.png)

build() {
	cd $name-$version
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX
	make -j3
	make DESTDIR=$PKG install
	cp $SRC/NuTyXlogo.png \
	$PKG/$KDE_PREFIX/share/icons/oxygen/256x256/places
	for i in 256x256 128x128 64x64 48x48 32x32 22x22 16x16
		do rm $PKG/$KDE_PREFIX/share/icons/oxygen/$i/places/start-here-kde.png
		ln -sv ../../256x256/places/NuTyXlogo.png \
		$PKG/$KDE_PREFIX/share/icons/oxygen/$i/places/start-here-kde.png
	done
}