void-packages/srcpkgs/unrar/template
2014-10-14 19:44:14 +02:00

22 lines
543 B
Text

# Template file for 'unrar'
pkgname=unrar
version=5.1.7
revision=1
wrksrc=unrar
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"
checksum=acba87d6e369af7383434774f859dff199995495cea706087d2a56c536522d8e
do_build() {
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile
make CXX="$CXX" LD="$LD" STRIP="$STRIP" -f makefile
}
do_install() {
vbin unrar
vlicense license.txt
}