summaryrefslogtreecommitdiffstats
path: root/kde/kde-l10n-es/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kde-l10n-es/Pkgfile')
-rwxr-xr-xkde/kde-l10n-es/Pkgfile20
1 files changed, 13 insertions, 7 deletions
diff --git a/kde/kde-l10n-es/Pkgfile b/kde/kde-l10n-es/Pkgfile
index 20e86ef5e..9f1ee32c3 100755
--- a/kde/kde-l10n-es/Pkgfile
+++ b/kde/kde-l10n-es/Pkgfile
@@ -1,20 +1,26 @@
-# Description: Traduction espagnole de KDE4
+# Description: Traduction française de KDE4
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
-# Packager: lesibel at free dot fr
-# Depends on: kdebase
-# Run on: kdebase
+# Packager: lesibel at free dot ch
+# Depends on: cmake, automoc4, kdelibs, docbook-xsl
+# Run on: kdelibs
name=kde-l10n-es
version=4.6.0
-release=1
+release=2
+
source=(ftp://ftp.kde.org/pub/kde/stable/$version/src/kde-l10n/$name-$version.tar.bz2)
+
build() {
cd $name-*
mkdir build
cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_docs=OFF
+
+ [ -d $SRC/kde-l10n-es-$version/docs/kdepim ] && sed -i '2i add_subdirectory( kdepim )' $SRC/kde-l10n-es-$version/docs/CMakeLists.txt
+ [ -d $SRC/kde-l10n-es-$version/messages/kdepim ] && sed -i '2i add_subdirectory( kdepim )' $SRC/kde-l10n-es-$version/messages/CMakeLists.txt
+
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
make
make DESTDIR=$PKG install
}