void-packages/srcpkgs/unrar/template

25 lines
624 B
Plaintext

# Template file for 'unrar'
pkgname=unrar
version=5.2.2
revision=1
wrksrc=unrar
repository="nonfree"
homepage="http://www.rarlab.com/rar"
update_pkgname=unrarsrc
update_site="http://www.rarlab.com/rar_add.htm"
distfiles="${homepage}/unrarsrc-${version}.tar.gz"
short_desc="Unarchiver for .rar files (non-free version)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="freeware"
checksum=4c134a739467dd0a18bd8aaa48f32750335c842d8a27e11b955ccc33a73ac834
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
}