summaryrefslogtreecommitdiffstats
path: root/extra/scribus/Pkgfile
blob: 2de3a936f0eaba7bd47302efe28f39f51faa716f (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: libcups, qt, gnutls, python, kerberos, boost, ghostscript, lcms, libxml2, cairo, desktop-file-utils, shared-mime-info
# Run on: libcups,qt,gnutls,kerberos,boost,ghostscript

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
}