ario: fix the l10n dir, this time properly

the previous change would change the install path but not where
the patch actually looks up the files, breaking locale support
entirely
This commit is contained in:
q66 2021-01-29 23:56:44 +01:00
parent a782318a91
commit 2261daa3ad

View file

@ -1,7 +1,7 @@
# Template file for 'ario'
pkgname=ario
version=1.6
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
@ -17,5 +17,5 @@ checksum=1442ede8eef994384489d72d028d7f7b1a1c81efe737f7147587dd02c772d09a
post_extract() {
vsed -i 's,<glib/gi18n.h>,<glib.h>,g' src/ario-profiles.c
vsed -i 's,$(prefix)/$(DATADIRNAME)/locale,$(datarootdir)/locale,' po/Makefile.in.in
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}