summaryrefslogtreecommitdiffstats
path: root/scribus/Pkgfile
blob: c324569bc5872751e60028b01e72743190238413 (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
# Description: Equivalent de Publisher en logiciel libre
# URL: http://www.scribus.net
# Maintainer: NuTyX coreteam
# Packager: thierryn1 at hispeed dot ch
# Depends on: aspell, libcups, qt, gnutls, python, kerberos, boost, ghostscript, lcms, libxml2, cairo, desktop-file-utils, shared-mime-info
# Run on: aspell,libcups,qt,gnutls,kerberos,boost,ghostscript

name=scribus
version=1.4.0.rc5
release=1
source=(http://sourceforge.net/projects/scribus/files/scribus-devel/$version/scribus-$version.tar.bz2)


build() {
	cd $name-$version
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
	  	-DWANT_CAIRO=1 \
                -DLIB_SUFFIX=""
	make
	make DESTDIR=$PKG install
	rm -r $PKG/usr/share/doc
	install -Dm644 $SRC/$name-$version/scribus.desktop \
	$PKG/usr/share/applications/scribus.desktop
}