# Template file for 'scribus' pkgname=scribus version=1.4.6 revision=1 build_style=cmake hostmakedepends="cmake pkg-config" makedepends="qt-devel zlib-devel cairo-devel lcms2-devel cups-devel libxml2-devel hyphen-devel ghostscript-devel boost-devel python-devel" depends="ghostscript" short_desc="Open Source DTP (Desktop Publishing) application" maintainer="Enno Boland " license="GPL-2" homepage="http://scribus.net" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname/$version/$pkgname-$version.tar.xz" checksum=21e336500d9edc9c90ccf73087e5ef3df59ec3e4a3cbfec15367bcd8d078a19a pre_configure() { sed -i 's#^Icon=scribus#^Icon=/usr/share/scribus/icons/scribus.png#' scribus.desktop } post_install() { vinstall scribus.desktop 644 usr/share/applications rm -rf ${DESTDIR}/usr/include }