void-packages/srcpkgs/unrar/template
2014-12-03 14:37:01 +00:00

24 lines
624 B
Text

# Template file for 'unrar'
pkgname=unrar
version=5.2.3
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=d249d34541dba39234cdf661ccec80e44334efe50c3ca1d7c51186cd5d26e072
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
}