summaryrefslogtreecommitdiffstats
path: root/kde/oxygen-icons/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-27 18:01:36 +0100
committersibel <lesibel@free.fr>2011-01-27 18:01:36 +0100
commitfb20d3e8e800a117412c8c6d4e028dc09f918f77 (patch)
tree0e8deab8f1ce9070830f3bcbfda6fed9045c6bd0 /kde/oxygen-icons/Pkgfile
parent0ae39c6758e62a01ec59db47d1803cbc35b5f3dd (diff)
downloadnutyx-extra-fb20d3e8e800a117412c8c6d4e028dc09f918f77.tar.gz
nutyx-extra-fb20d3e8e800a117412c8c6d4e028dc09f918f77.tar.bz2
nutyx-extra-fb20d3e8e800a117412c8c6d4e028dc09f918f77.tar.xz
nutyx-extra-fb20d3e8e800a117412c8c6d4e028dc09f918f77.zip
oxygen-icons, maj deps
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
}