summaryrefslogtreecommitdiffstats
path: root/pairs/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pairs/Pkgfile')
-rwxr-xr-xpairs/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/pairs/Pkgfile b/pairs/Pkgfile
new file mode 100755
index 000000000..0e61b77b2
--- /dev/null
+++ b/pairs/Pkgfile
@@ -0,0 +1,28 @@
+# Description:
+# URL: http://www.kde.org
+# Maintainer: KDE Project : https://projects.kde.org/projects/kde
+# Packager: lesibel at free dot fr
+# Depends on: qt,cmake,automoc4,kde-runtime
+# Run on: kde-runtime
+
+name=pairs
+version=4.9.0
+release=1
+source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.xz)
+
+build() {
+ cd $name-$version
+
+ mkdir build
+ cd build
+ cmake ../ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DKDE_DEFAULT_HOME='.kde' \
+ -DHTML_INSTALL_DIR=/usr/share/doc/kde/html \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+ make
+ make DESTDIR=$PKG install
+}
+