From 1c0a3ec17b08eda6509c57a9fba7a0cbee779fca Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 13 May 2014 07:58:59 -0300 Subject: xarchiver-libre-0.5.3-4.1: fix po files --- libre/xarchiver-libre/PKGBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'libre/xarchiver-libre') diff --git a/libre/xarchiver-libre/PKGBUILD b/libre/xarchiver-libre/PKGBUILD index c24d97700..f97fcf31c 100644 --- a/libre/xarchiver-libre/PKGBUILD +++ b/libre/xarchiver-libre/PKGBUILD @@ -7,7 +7,7 @@ _pkgname=xarchiver pkgname=xarchiver-libre pkgver=0.5.3 -pkgrel=4 +pkgrel=4.1 pkgdesc="GTK+ frontend to various command line archivers, without nonfree unrar support" arch=('i686' 'x86_64' 'mips64el') url="http://xarchiver.sourceforge.net/" @@ -55,6 +55,13 @@ prepare() { # Remove nonfree unRAR support patch -Np1 -i ../xarchiver-0.5.3-remove-nonfree-unrar-support.patch rm -v src/rar.{c,h} + + # Fix po files + cd po + for file in *.po; do + intltool-update ${file%.*} + msgattrib --no-obsolete -o $file $file + done } build() { -- cgit v1.2.3