void-packages/srcpkgs/xournal/template

23 lines
817 B
Bash

# Template file for 'xournal'
pkgname=xournal
version=0.4.8.2016
revision=4
build_style=gnu-configure
make_install_args="desktop-install"
hostmakedepends="autoconf automake pkg-config gettext"
makedepends="gtk+-devel libgnomecanvas-devel poppler-glib-devel
zlib-devel ghostscript-devel"
depends="hicolor-icon-theme desktop-file-utils ghostscript"
short_desc="GPL Notetaking, sketching, and journal-keeping"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://xournal.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=b25898dbd7a149507f37a16769202d69fbebd4a000d766923bbd32c5c7462826
post_patch() {
vsed -i -e "/DATADIRNAME=/s/=.*/=share/" configure
vsed -i -e "s,^localedir =.*,localedir = /usr/share/locale," \
po/Makefile.in.in
}