From 797aa66460ad0d39c894e12dd6ba24d02daa369c Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 30 Jan 2019 07:15:44 -0200 Subject: [PATCH] unrar: update to 5.7.1. --- srcpkgs/unrar/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/unrar/template b/srcpkgs/unrar/template index 29465420fc..ad1440fa9a 100644 --- a/srcpkgs/unrar/template +++ b/srcpkgs/unrar/template @@ -1,6 +1,6 @@ # Template file for 'unrar' pkgname=unrar -version=5.6.8 +version=5.7.1 revision=1 wrksrc=unrar short_desc="Unarchiver for .rar files (non-free version)" @@ -8,14 +8,16 @@ maintainer="Juan RP " license="freeware" homepage="https://www.rarlab.com/rar_add.htm" distfiles="https://www.rarlab.com/rar/unrarsrc-${version}.tar.gz" -checksum=a4cc0ac14a354827751912d2af4a0a09e2c2129df5766576fa7e151791dd3dff +checksum=d208abcceecfee0084bb8a93e9b756319d906a3ac6380ee5d10285fb0ffc4d65 repository=nonfree do_build() { - sed -i -e 's/^\(CXXFLAGS\)=\(.*\)/\1+=\2/' \ - -e 's/^\(LDFLAGS\)=\(.*\)/\1+=-lpthread \2/' makefile + vsed -e 's/^\(CXXFLAGS\)=\(.*\)/\1+=\2/' \ + -e 's/^\(LDFLAGS\)=\(.*\)/\1+=-lpthread \2/' \ + -i makefile make CXX="$CXX" LD="$LD" STRIP=: -f makefile } + do_install() { vbin unrar vlicense license.txt LICENSE