void-packages/srcpkgs/scribus/template
2015-04-09 11:54:06 +02:00

23 lines
808 B
Bash

# Template file for 'scribus'
pkgname=scribus
version=1.4.5
revision=2
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 <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://scribus.net"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname/$version/$pkgname-$version.tar.bz2"
checksum=9f706f0561d26bb11bbe558690ae0507cd3689e381f6e17aa9411d9c4ef58498
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
}