void-packages/srcpkgs/unrar/template

25 lines
725 B
Plaintext
Raw Normal View History

2010-11-18 14:10:56 +01:00
# Template file for 'unrar'
pkgname=unrar
2011-11-21 11:52:21 +01:00
version=4.1.2
2010-11-18 14:10:56 +01:00
wrksrc=unrar
2011-11-21 11:52:21 +01:00
nonfree=yes
homepage="http://www.rarlab.com/rar"
distfiles="${homepage}/unrarsrc-${version}.tar.gz"
2010-11-18 14:10:56 +01:00
short_desc="Unarchiver for .rar files (non-free version)"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-11-21 11:52:21 +01:00
license="freeware - see /usr/share/licenses/unrar/license.txt"
checksum=b2e55e2c417634a76a5b593844234579f965d384b02fff83c524da37b473453d
2010-11-18 14:10:56 +01:00
long_desc="
Unrar can extract files from .rar archives. If you want to create .rar
archives, install package rar."
2011-11-21 11:52:21 +01:00
do_build() {
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile.unix
2010-11-18 14:10:56 +01:00
make ${makejobs} -f makefile.unix
}
2011-11-21 11:52:21 +01:00
do_install() {
vinstall unrar 755 usr/bin
vinstall license.txt 644 usr/share/licenses/unrar
2010-11-18 14:10:56 +01:00
}