From 87e92c56ce6bd30bcb2704e1598c8c933e92ca2a 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:38:20 +0700 Subject: [PATCH] pidgin-privacy-please: fix l10n dir --- srcpkgs/pidgin-privacy-please/template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pidgin-privacy-please/template b/srcpkgs/pidgin-privacy-please/template index 6b9c1d15be..1849937292 100644 --- a/srcpkgs/pidgin-privacy-please/template +++ b/srcpkgs/pidgin-privacy-please/template @@ -1,10 +1,12 @@ # Template file for 'pidgin-privacy-please' pkgname=pidgin-privacy-please version=0.7.1 -revision=3 +revision=4 build_style=gnu-configure -makedepends="libpurple-devel pidgin-devel glib-devel" -hostmakedepends="automake intltool libtool pkg-config $makedepends" +configure_args="--with-locales-dir=/usr/share/locale" +hostmakedepends="automake intltool libtool pkg-config libpurple-devel + pidgin-devel glib-devel" +makedepends="libpurple-devel pidgin-devel libglib-devel" depends="pidgin" short_desc="Pidgin plugin to stop spam" maintainer="Leah Neukirchen " @@ -12,3 +14,7 @@ license="GPL-3.0-or-later" homepage="https://packages.debian.org/sid/pidgin-privacy-please" distfiles="${DEBIAN_SITE}/main/p/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=8134bcd5da98fe8b4c9918fd420c7e68b0990e895ed2534396cacbf473f2615c + +post_patch() { + vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure +}