xournal: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-09 18:50:07 +07:00
parent 87e92c56ce
commit 46238a3578
1 changed files with 11 additions and 5 deletions

View File

@ -1,16 +1,22 @@
# Template file for 'xournal'
pkgname=xournal
version=0.4.8.2016
revision=3
revision=4
build_style=gnu-configure
make_install_args="desktop-install"
hostmakedepends="autoconf automake pkg-config"
makedepends="gtk+-devel libgnomecanvas-devel poppler-glib-devel zlib-devel ghostscript-devel"
makedepends+=" hicolor-icon-theme desktop-file-utils"
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/"
license="GPL-2"
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
}