summaryrefslogtreecommitdiffstats
path: root/kde/kde-l10n-fr/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kde-l10n-fr/Pkgfile')
-rwxr-xr-xkde/kde-l10n-fr/Pkgfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/kde/kde-l10n-fr/Pkgfile b/kde/kde-l10n-fr/Pkgfile
index 41add674c..aae44dcb6 100755
--- a/kde/kde-l10n-fr/Pkgfile
+++ b/kde/kde-l10n-fr/Pkgfile
@@ -2,11 +2,11 @@
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot ch
-# Depends on: cmake, automoc4, kdelibs, docbook-xsl
+# Depends on: cmake, automoc4, kdelibs
# Run on: kdelibs
name=kde-l10n-fr
-version=4.6.5
+version=4.7.0
release=1
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/kde-l10n/$name-$version.tar.bz2)
@@ -16,11 +16,11 @@ build() {
mkdir build
cd build
- [ -d $SRC/kde-l10n-fr-$version/docs/kdepim ] && sed -i '2i add_subdirectory( kdepim )' $SRC/kde-l10n-fr-$version/docs/CMakeLists.txt
- [ -d $SRC/kde-l10n-fr-$version/messages/kdepim ] && sed -i '2i add_subdirectory( kdepim )' $SRC/kde-l10n-fr-$version/messages/CMakeLists.txt
-
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+
make
make DESTDIR=$PKG install
}