tilp2: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-26 21:56:50 +07:00
parent e04f92f758
commit 694b0dd6dd
1 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'tilp2'
pkgname=tilp2
version=1.18
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake bison groff intltool libtool pkg-config texinfo"
hostmakedepends="automake bison groff intltool libtool pkg-config texinfo
gettext-devel glib-devel"
makedepends="gtk+-devel libusb-devel zlib-devel glib-devel libarchive-devel
gettext-devel libticonv-devel libtifiles2-devel libticables2-devel
libticalcs2-devel"
@ -15,11 +16,10 @@ homepage="https://www.ticalc.org"
distfiles="${SOURCEFORGE_SITE}/tilp/tilp2-linux/tilp2-${version}/${pkgname}-${version}.tar.bz2"
checksum=7b3ab363eeb52504d6ef5811c5d264f8016060bb7bd427be5a064c2ed7384e47
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" gettext-devel glib-devel"
fi
pre_configure() {
mkdir -p m4
autoreconf -i -v -f
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/CATOBJEXT=/s/\.mo/.gmo/' \
configure
}