summaryrefslogtreecommitdiffstats
path: root/kde/oxygen-icons/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/oxygen-icons/Pkgfile')
-rwxr-xr-xkde/oxygen-icons/Pkgfile27
1 files changed, 17 insertions, 10 deletions
diff --git a/kde/oxygen-icons/Pkgfile b/kde/oxygen-icons/Pkgfile
index bfdcd86a9..897055f75 100755
--- a/kde/oxygen-icons/Pkgfile
+++ b/kde/oxygen-icons/Pkgfile
@@ -2,12 +2,12 @@
# URL: http://www.kde.org
# Packager: NuTyX core team
# Maintainer: thierryn1 at hispeed dot ch
-# Depends on: kdelibs
-# Run on: kdelibs
+# Depends on: cmake, automoc4
+# Run on:
name=oxygen-icons
version=4.6.0
-release=1
+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)
@@ -15,15 +15,22 @@ build() {
cd $name-*
mkdir build
cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
+ 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
- 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
+ $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
}