summaryrefslogtreecommitdiffstats
path: root/kde/ksnapshot/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-07-31 14:33:28 +0200
committertnut <tnut at nutyx dot com>2011-07-31 14:33:28 +0200
commitda27f3f018b0fe5552cfbbcf2b3b7e83cfe07326 (patch)
treef0ebdfa80e70a3830eb039c1594ae91dad3cd4e1 /kde/ksnapshot/Pkgfile
parent678a77c9d4973a1d8c4dae094d3e1dde3bc10620 (diff)
downloadnutyx-extra-da27f3f018b0fe5552cfbbcf2b3b7e83cfe07326.tar.gz
nutyx-extra-da27f3f018b0fe5552cfbbcf2b3b7e83cfe07326.tar.bz2
nutyx-extra-da27f3f018b0fe5552cfbbcf2b3b7e83cfe07326.tar.xz
nutyx-extra-da27f3f018b0fe5552cfbbcf2b3b7e83cfe07326.zip
ajout ksnapshot 4.7.0-1
Diffstat (limited to 'kde/ksnapshot/Pkgfile')
-rwxr-xr-xkde/ksnapshot/Pkgfile26
1 files changed, 26 insertions, 0 deletions
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
+}
+