summaryrefslogtreecommitdiffstats
path: root/kde/koffice/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:07:55 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:07:55 +0200
commit4479e4b90873e214d896f650ca465cb9e39f98d4 (patch)
tree83caec0f51bc49c2e193f5ec804550640defc981 /kde/koffice/Pkgfile
parentd077a0d3075f6bea4260aaebc995a2884469af98 (diff)
downloadnutyx-pakxe-4479e4b90873e214d896f650ca465cb9e39f98d4.tar.gz
nutyx-pakxe-4479e4b90873e214d896f650ca465cb9e39f98d4.tar.bz2
nutyx-pakxe-4479e4b90873e214d896f650ca465cb9e39f98d4.tar.xz
nutyx-pakxe-4479e4b90873e214d896f650ca465cb9e39f98d4.zip
Ajout de koffice#2.0.2-1
Diffstat (limited to 'kde/koffice/Pkgfile')
-rw-r--r--kde/koffice/Pkgfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/kde/koffice/Pkgfile b/kde/koffice/Pkgfile
new file mode 100644
index 000000000..83ff0e45e
--- /dev/null
+++ b/kde/koffice/Pkgfile
@@ -0,0 +1,41 @@
+# Description: Suite office intégrée dans KDE
+# URL: http://www.koffice.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: kdebase, kdepim
+
+name=koffice
+version=2.0.2
+release=1
+source=(http://download.kde.org/stable/${name}-$version/src/${name}-$version.tar.bz2\
+ http://download.kde.org/stable/${name}-$version/src/${name}-l10n/${name}-l10n-fr-$version.tar.bz2)
+build() {
+ mkdir build
+ cd build
+ cmake ../${name}-l10n-fr-$version \
+ -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX
+ make -j3
+ make DESTDIR=$PKG install
+ rm -r *
+ cmake ../${name}-$version -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX
+ make -j3
+ make DESTDIR=$PKG install
+ for i in format-justify-center.png format-justify-fill.png \
+ format-justify-left.png \
+ format-justify-right.png \
+ format-text-bold.png \
+ format-text-italic.png \
+ format-text-underline.png \
+ object-group.png \
+ object-order-back.png \
+ object-order-front.png \
+ object-order-lower.png \
+ object-order-raise.png \
+ object-ungroup.png
+ do
+ if [ -f $PKG/$KDE_PREFIX/share/icons/oxygen/16x16/actions/$i ]; then
+ rm $PKG/$KDE_PREFIX/share/icons/oxygen/16x16/actions/$i
+ fi
+ done
+ rm -r $PKG/$KDE_PREFIX/share/doc/HTML/en
+}