void-packages/srcpkgs/unrar/template
2015-07-02 16:13:40 +02:00

21 lines
555 B
Bash

# Template file for 'unrar'
pkgname=unrar
version=5.2.7
revision=2
wrksrc=unrar
repository="nonfree"
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"
checksum=ef14757e943787b439fedf2c564c1f38d0db315528a928e0de170860717e2fac
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
}