void-packages/srcpkgs/unrar/template
2015-10-12 09:20:52 +02:00

21 lines
555 B
Bash

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