summaryrefslogtreecommitdiffstats
path: root/extra/scribus/Pkgfile
blob: c7dd66cdeb55291e568a77885b62e5828d4a4eec (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
# Description: Equivalent de Publisher en logiciel libre
# URL: http://www.scribus.net
# Maintainer: NuTyX coreteam
# Packager: thierryn1 at hispeed dot ch
# Depends on: libcups, qt, gnutls, python, kerberos, boost, ghostscript
# Run on:

#lcms, libxml2, cairo, desktop-file-utils, shared-mime-info

name=scribus
version=1.3.7
release=1
source=(http://downloads.sourceforge.net/$name/$name-$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
}