void-packages/srcpkgs/scribus/template
2019-03-10 13:03:14 +01:00

25 lines
897 B
Bash

# Template file for 'scribus'
pkgname=scribus
version=1.4.8
revision=1
build_style=cmake
hostmakedepends="pkg-config qt-devel"
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.org>"
license="GPL-2.0-or-later"
homepage="https://scribus.net"
distfiles="$SOURCEFORGE_SITE/scribus/scribus/${version}/scribus-${version}.tar.xz"
checksum=22253bb5994023f39608b37c57c7cd0280059fd97d2a4d71d4011aeeeb18042f
nocross="https://travis-ci.org/void-linux/void-packages/jobs/504239118"
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
}