void-packages/srcpkgs/unrar/template
2015-02-18 09:14:23 +01:00

21 lines
552 B
Text

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