ario: fix install path for locale files

This commit is contained in:
Jürgen Buchmüller 2021-01-29 23:48:59 +01:00
parent 42e4e4e137
commit a782318a91

View file

@ -1,7 +1,7 @@
# Template file for 'ario'
pkgname=ario
version=1.6
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
@ -16,6 +16,6 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}-player/${pkgname}-${version}.tar.gz"
checksum=1442ede8eef994384489d72d028d7f7b1a1c81efe737f7147587dd02c772d09a
post_extract() {
sed -i 's,<glib/gi18n.h>,<glib.h>,g' src/ario-profiles.c
sed -i 's,<glib/gslist.h>,<glib.h>,g' src/ario-profiles.h
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
}