summaryrefslogtreecommitdiffstats
path: root/calligra/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'calligra/Pkgfile')
-rw-r--r--calligra/Pkgfile51
1 files changed, 51 insertions, 0 deletions
diff --git a/calligra/Pkgfile b/calligra/Pkgfile
new file mode 100644
index 000000000..1a972e4d9
--- /dev/null
+++ b/calligra/Pkgfile
@@ -0,0 +1,51 @@
+# Description: Siuite office intégrée dans KDE
+# URL: http://www.koffice.org/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: cmake,automoc4,kdelibs,okular,sqlite3,avahi,aspell,libxslt,shared-mime-info,upower,udisks,enchant,jasper,openexr,strigi,xorg-libxtst,soprano,ca-certificates,xdg-utils,qca,polkit-qt,xscreensaver,phonon,shared-desktop-ontologies,attica,xorg-libxcursor,hicolor-icon-theme,docbook-xsl,docbook-xml,libdbusmenu-qt,grantlee,pstoedit,eigen2,kdepimlibs,boost,lcms2,libmysql,glew,libgsf,libkdcraw,libwpg
+# Run on: kdelibs,okular,sqlite3,lcms2,eigen2,kdepimlibs,boost,avahi,aspell,libxslt,shared-mime-info,upower,udisks,enchant,jasper,openexr,strigi,xorg-libxtst,soprano,ca-certificates,xdg-utils,qca,polkit-qt,xscreensaver,phonon,shared-desktop-ontologies,attica,xorg-libxcursor,hicolor-icon-theme,docbook-xsl,docbook-xml,libdbusmenu-qt,grantlee,pstoedit,libmysql,glew,libgsf,libkdcraw,libwpg
+
+name=calligra
+version=2.3.82
+release=1
+source=(ftp://ftp.kde.org/pub/kde/unstable/$name-$version/$name-$version.tar.bz2
+ ftp://ftp.kde.org/pub/kde/unstable/$name-$version/$name-l10n/$name-l10n-fr-$version.tar.bz2)
+
+build() {
+ cd $SRC
+ mkdir build
+ cd build
+ cmake ../$name-l10n-fr-$version \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+ make DESTDIR=$PKG install
+ rm -r *
+ cmake ../$name-$version \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_mobile=OFF
+
+ make
+ 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//usr/share/icons/oxygen/16x16/actions/$i ]; then
+ rm $PKG//usr/share/icons/oxygen/16x16/actions/$i
+ fi
+ done
+# rm -r $PKG//usr/share/doc/HTML/en
+}