unrar: update to 5.1.7

This commit is contained in:
Alessio Sergi 2014-10-14 19:44:14 +02:00
parent 033c4ed0f5
commit 44b621a7d1
1 changed files with 9 additions and 9 deletions

View File

@ -1,22 +1,22 @@
# Template file for 'unrar'
pkgname=unrar
version=4.2.4
revision=2
version=5.1.7
revision=1
wrksrc=unrar
nonfree="yes"
nonfree=yes
homepage="http://www.rarlab.com/rar"
distfiles="${homepage}/unrarsrc-${version}.tar.gz"
short_desc="Unarchiver for .rar files (non-free version)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="freeware - see /usr/share/licenses/unrar/license.txt"
checksum=9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
license="freeware"
checksum=acba87d6e369af7383434774f859dff199995495cea706087d2a56c536522d8e
do_build() {
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile.unix
make CXX="$CXX" LD="$LD" STRIP="$STRIP" -f makefile.unix
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile
make CXX="$CXX" LD="$LD" STRIP="$STRIP" -f makefile
}
do_install() {
vinstall unrar 755 usr/bin
vinstall license.txt 644 usr/share/licenses/unrar
vbin unrar
vlicense license.txt
}