ufraw: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-09 19:27:05 +07:00
parent 7ea4c00c68
commit 5a40f361e1

View file

@ -1,11 +1,11 @@
# Template file for 'ufraw'
pkgname=ufraw
version=0.22
revision=3
revision=4
build_style=gnu-configure
configure_args="--enable-contrast --enable-mime --enable-openmp --with-gimp
$(vopt_enable extras)"
hostmakedepends="pkg-config dcraw"
hostmakedepends="pkg-config dcraw gettext"
makedepends="exiv2-devel gimp-devel glib-devel gtkimageview-devel lcms2-devel lensfun-devel
jasper-devel"
depends="desktop-file-utils"
@ -24,6 +24,9 @@ post_patch() {
-i dcraw_api.cc \
-i ufraw_ufraw.c \
-i ufraw_developer.c
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' configure
vsed -i -e "s,^localedir =.*,localedir = /usr/share/locale," \
po/Makefile.in.in
}
ufraw-gimp_package() {