void-packages/srcpkgs/unrar/template

22 lines
552 B
Plaintext

# Template file for 'unrar'
pkgname=unrar
version=5.2.4
revision=1
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@gmail.com>"
license="freeware"
checksum=501ac30b820523136ffed2b87887caafeeb96fc89fa048433a79430894ae8009
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
}