summaryrefslogtreecommitdiffstats
path: root/calligra/Pkgfile
blob: de1d20c7ac7255095a4506f1a9d125a23527599a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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,libpqxx
# 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,libdbusmenu-qt,grantlee,pstoedit,libmysql,glew,libgsf,libkdcraw,libwpg,libpqxx

name=calligra
version=2.4.2
release=1
source=(http://download.kde.org/stable/$name-$version/$name-$version.tar.bz2
	http://download.kde.org/stable/$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
	rm -r $PKG/usr/share/doc
}