void-packages/srcpkgs/unrar/template
Enno Boland 59cc3e0d45 replace nonfree=yes with repository=nonfree.
This way it is possible to set up package specific repositories for
i.e. specific devices.
2014-11-05 14:15:25 +01:00

24 lines
624 B
Text

# 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
}