pidgin-otr: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-02 06:36:45 +07:00
parent 032ee6c120
commit fb068208fa

View file

@ -1,14 +1,19 @@
# Template file for 'pidgin-otr' # Template file for 'pidgin-otr'
pkgname=pidgin-otr pkgname=pidgin-otr
version=4.0.2 version=4.0.2
revision=1 revision=2
lib32disabled=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale"
hostmakedepends="pkg-config intltool" hostmakedepends="pkg-config intltool"
makedepends="pidgin-devel libgcrypt-devel libotr-devel" makedepends="pidgin-devel libgcrypt-devel libotr-devel"
short_desc="Off-the-Record Messaging plugin for Pidgin IM" short_desc="Off-the-Record Messaging plugin for Pidgin IM"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2" license="GPL-2.0-only"
homepage="http://www.cypherpunks.ca/otr/" homepage="http://www.cypherpunks.ca/otr/"
distfiles="http://www.cypherpunks.ca/otr/${pkgname}-${version}.tar.gz" distfiles="http://www.cypherpunks.ca/otr/${pkgname}-${version}.tar.gz"
checksum=f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4 checksum=f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4
lib32disabled=yes
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}