void-packages/srcpkgs/scribus/template
2020-04-21 18:45:12 -04:00

26 lines
926 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
python_version=2 #unverified
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
}