From da27f3f018b0fe5552cfbbcf2b3b7e83cfe07326 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 31 Jul 2011 14:33:28 +0200 Subject: ajout ksnapshot 4.7.0-1 --- kde/ksnapshot/Pkgfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 kde/ksnapshot/Pkgfile (limited to 'kde/ksnapshot/Pkgfile') diff --git a/kde/ksnapshot/Pkgfile b/kde/ksnapshot/Pkgfile new file mode 100755 index 000000000..1fff4a7a7 --- /dev/null +++ b/kde/ksnapshot/Pkgfile @@ -0,0 +1,26 @@ +# Description: Outil de capture d'ecran pour KDE4 +# URL: http://www.kde.org +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: cmake,automoc4,kdelibs,libkipi +# Run on: kdelibs,libkipi + +name=ksnapshot +version=4.7.0 +release=1 +source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2) + +build() { + cd $name-* + mkdir build + cd build + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE_DEFAULT_HOME=.kde \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' + make + make DESTDIR=$PKG install +} + -- cgit v1.2.3-70-g09d2