void-packages/srcpkgs/unrar/template

23 lines
644 B
Plaintext
Raw Normal View History

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