summaryrefslogtreecommitdiffstats
path: root/kde/k3b/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/k3b/Pkgfile')
-rw-r--r--kde/k3b/Pkgfile16
1 files changed, 9 insertions, 7 deletions
diff --git a/kde/k3b/Pkgfile b/kde/k3b/Pkgfile
index 923453bb1..70e03e1cc 100644
--- a/kde/k3b/Pkgfile
+++ b/kde/k3b/Pkgfile
@@ -6,16 +6,18 @@
name=k3b
version=2.0.0
-release=1
+release=2
source=(http://downloads.sourceforge.net/sourceforge/k3b/$name-$version.tar.bz2)
build() {
-cd $name-$version
-cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
- -DBUILD_doc=OFF
+cd $SRC/
+ mkdir build
+ cd build
+ cmake ../$name-$version \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+ make DESTDIR=$PKG install
-make
-make DESTDIR=$PKG install
}