void-packages/srcpkgs/unrar/template

23 lines
644 B
Text
Raw Normal View History

2010-11-18 13:10:56 +00:00
# Template file for 'unrar'
pkgname=unrar
2013-05-05 05:47:20 +00:00
version=4.2.4
2014-02-16 10:37:00 +00:00
revision=2
2010-11-18 13:10:56 +00:00
wrksrc=unrar
nonfree="yes"
2011-11-21 10:52:21 +00:00
homepage="http://www.rarlab.com/rar"
distfiles="${homepage}/unrarsrc-${version}.tar.gz"
2010-11-18 13:10:56 +00:00
short_desc="Unarchiver for .rar files (non-free version)"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-11-21 10:52:21 +00:00
license="freeware - see /usr/share/licenses/unrar/license.txt"
2013-05-05 05:47:20 +00:00
checksum=9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686
2010-11-18 13:10:56 +00:00
2011-11-21 10:52:21 +00:00
do_build() {
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile.unix
2013-05-05 05:47:20 +00:00
make CXX="$CXX" LD="$LD" STRIP="$STRIP" -f makefile.unix
2010-11-18 13:10:56 +00:00
}
2011-11-21 10:52:21 +00:00
do_install() {
vinstall unrar 755 usr/bin
vinstall license.txt 644 usr/share/licenses/unrar
2010-11-18 13:10:56 +00:00
}