summaryrefslogtreecommitdiffstats
path: root/kde/oxygen-icons/Pkgfile
blob: 95ff8a65c444d22fa520f447cae56e0c24eb6d84 (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
# 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.1
release=1
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/{} \;
}