1 # Contributor: Krzysztof Raczkowski <raczkow@gmail.com>
3 pkgname=kdeicons-nico_project
7 pkgdesc="Complete system icon set for KDE"
9 url='http://www.kde-look.org/content/show.php/NiCo_Project?content=55749'
11 makedepends=('imagemagick')
12 source=("http://fc09.deviantart.net/fs14/f/2007/108/8/c/${_pkgname}_by_hammergom.zip")
13 md5sums=('489108737dd78516a0f689eac7141fe0')
15 SIZES="128x128 96x96 72x72 64x64 48x48 32x32 22x22 16x16"
16 DIRS="actions apps devices filesystems mimetypes"
19 cd ${startdir}/src/NiCo_Crystal
23 for size in $SIZES; do
25 mkdir -pm 755 $size/$dir
28 msg2 "Convert icons..."
32 # Loop the specified sizes
33 for size in $SIZES; do
34 convert "$icon" -resize $size ../../$size/$dir/"$icon"
42 install -dm 755 ${pkgdir}/usr/share/icons/${_pkgname}
43 install -Dm 644 ${startdir}/src/NiCo_Crystal/index.desktop ${pkgdir}/usr/share/icons/${_pkgname}/index.desktop
44 for size in $SIZES; do
45 cp -r ${srcdir}/NiCo_Crystal/${size} ${pkgdir}/usr/share/icons/${_pkgname}