gtkspell: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-01 20:45:43 +07:00
parent 0a955b97a6
commit 21448751aa

View file

@ -1,20 +1,22 @@
# Template file for 'gtkspell' # Template file for 'gtkspell'
pkgname=gtkspell pkgname=gtkspell
version=2.0.16 version=2.0.16
revision=4 revision=5
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--with-locales-dir=/usr/share/locale --disable-static"
hostmakedepends="intltool pkg-config" hostmakedepends="intltool pkg-config"
makedepends="enchant2-devel gtk+-devel" makedepends="enchant2-devel gtk+-devel"
short_desc="Provides word-processor-style highlighting" short_desc="Provides word-processor-style highlighting"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://gtkspell.sourceforge.net/"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="http://gtkspell.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02 checksum=8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02
pre_configure() { post_patch() {
sed -i 's/enchant/enchant-2/g' configure vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \
-e 's/enchant/enchant-2/g' \
configure
} }
gtkspell-devel_package() { gtkspell-devel_package() {