gnumeric: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-01 20:35:12 +07:00
parent 7f1593d4ec
commit 3920b00a78
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'gnumeric'
pkgname=gnumeric
version=1.12.48
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="bison gdk-pixbuf-devel glib-devel intltool itstool pkg-config "
makedepends="goffice-devel librsvg-devel libxslt-devel"
@ -22,11 +22,16 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" --without-perl"
fi
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
gnumeric-devel_package() {
depends="gnumeric>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libspreadsheet.so
}
}