From 032ee6c120243323196afbbf73dc5890cc3064d0 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:35:41 +0700 Subject: [PATCH] pidgin-libnotify: fix l10n dir --- srcpkgs/pidgin-libnotify/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pidgin-libnotify/template b/srcpkgs/pidgin-libnotify/template index 2dfbcdf5db1..bc71b0e602c 100644 --- a/srcpkgs/pidgin-libnotify/template +++ b/srcpkgs/pidgin-libnotify/template @@ -1,15 +1,20 @@ # Template file for 'pidgin-libnotify' pkgname=pidgin-libnotify version=0.14 -revision=2 +revision=3 build_style=gnu-configure -configure_args="--disable-deprecated --disable-static" +configure_args="--with-locales-dir=/usr/share/locale --disable-deprecated --disable-static" hostmakedepends="intltool pkg-config" makedepends="pidgin-devel libnotify-devel" short_desc="Pidgin plugin that enables popups when someone logs in or messages you" maintainer="Kharlamov Alexey " -license="GPL-3.0-or-later" +# See its only source file pidgin-libnotify.c +license="GPL-2.0-or-later" homepage="http://gaim-libnotify.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/gaim-libnotify/${pkgname}-${version}.tar.gz" checksum=74f4a9f20e0a483df39974178f1f2380786176189512bcd438e4ada280ec3abe lib32disabled=yes + +post_patch() { + vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure +}