From fb068208fafcf2cf1da982b09483c232cf154b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 2 Jan 2021 06:36:45 +0700 Subject: [PATCH] pidgin-otr: fix l10n dir --- srcpkgs/pidgin-otr/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pidgin-otr/template b/srcpkgs/pidgin-otr/template index 0cda9a5b705..1ec42101f17 100644 --- a/srcpkgs/pidgin-otr/template +++ b/srcpkgs/pidgin-otr/template @@ -1,14 +1,19 @@ # Template file for 'pidgin-otr' pkgname=pidgin-otr version=4.0.2 -revision=1 -lib32disabled=yes +revision=2 build_style=gnu-configure +configure_args="--with-locales-dir=/usr/share/locale" hostmakedepends="pkg-config intltool" makedepends="pidgin-devel libgcrypt-devel libotr-devel" short_desc="Off-the-Record Messaging plugin for Pidgin IM" maintainer="Orphaned " -license="GPL-2" +license="GPL-2.0-only" homepage="http://www.cypherpunks.ca/otr/" distfiles="http://www.cypherpunks.ca/otr/${pkgname}-${version}.tar.gz" checksum=f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4 +lib32disabled=yes + +post_patch() { + vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure +}