1 # Maintainer: Ricardo Hernandez <richerve@archlinux.com.ve>
7 pkgdesc="A desktop publishing program. Stable version"
10 url="http://www.scribus.net"
11 install=scribus.install
12 depends=('libcups>=1.3.11' 'lcms>=1.18' 'qt3>=3.3.8' 'ghostscript>=8.60' \
13 'libart-lgpl>=2.3.10' 'python>=2.3' 'libxml2>=2.6.0' 'cairo' \
14 'desktop-file-utils' 'shared-mime-info' 'freetype2>=2.1.3' 'libtiff>=3.6.0')
18 options=(!libtool !makeflags)
19 source=(http://downloads.sourceforge.net/sourceforge/${_realname}/${_realname}-${pkgver}.tar.bz2)
22 cd ${srcdir}/${_realname}-${pkgver}
23 cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_SKIP_RPATH=ON \
26 -DWANT_CAIRO=1 -DLIB_SUFFIX=""
28 make DESTDIR=${pkgdir} install
30 # fix icon path in .desktop file
31 sed -i 's|Icon=scribus|Icon=/usr/share/scribus/icons/scribus.png|' vnd.scribus.desktop
32 #sed -i 's|GenericName=Page Layout (Development)|GenericName=Page Layout (Stable)|' vnd.scribus.desktop
34 install -Dm644 vnd.scribus.desktop \
35 ${pkgdir}/usr/share/applications/scribus.desktop
38 md5sums=('347f9dd7f9e1924218c5975811abf05a')