summaryrefslogtreecommitdiffstats
path: root/kde/kde-l10n-es/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-28 17:05:51 +0100
committersibel <lesibel@free.fr>2011-01-28 17:05:51 +0100
commiteb2f68c2f264548369c65a917ed1733c1722cda2 (patch)
tree8029883e52c2af229007f1af8ff76cad27011def /kde/kde-l10n-es/Pkgfile
parent34d9758d1b078aca924b85ace87b7e711e56d3d9 (diff)
downloadnutyx-extra-eb2f68c2f264548369c65a917ed1733c1722cda2.tar.gz
nutyx-extra-eb2f68c2f264548369c65a917ed1733c1722cda2.tar.bz2
nutyx-extra-eb2f68c2f264548369c65a917ed1733c1722cda2.tar.xz
nutyx-extra-eb2f68c2f264548369c65a917ed1733c1722cda2.zip
kde-l10n-es, 4.6.0
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
}