void-packages/srcpkgs/scribus/template

24 lines
808 B
Bash
Raw Normal View History

2015-04-09 09:40:05 +00:00
# Template file for 'scribus'
pkgname=scribus
version=1.4.5
2015-04-09 09:54:06 +00:00
revision=2
2015-04-09 09:40:05 +00:00
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
2015-04-09 09:54:06 +00:00
rm -rf ${DESTDIR}/usr/include
2015-04-09 09:40:05 +00:00
}