vp-build/srcpkgs/unrar/template
2010-11-18 14:10:56 +01:00

29 lines
741 B
Plaintext

# Template file for 'unrar'
pkgname=unrar
version=3.9.10
wrksrc=unrar
distfiles="http://www.rarlab.com/rar/unrarsrc-$version.tar.gz"
build_style=custom-install
short_desc="Unarchiver for .rar files (non-free version)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3b4627d8f5700588bc594afee6911865f55201625299f414438a654da488207a
long_desc="
Unrar can extract files from .rar archives. If you want to create .rar
archives, install package rar."
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
do_build()
{
make ${makejobs} -f makefile.unix
}
do_install()
{
install -D -m755 ${wrksrc}/unrar ${DESTDIR}/usr/bin/unrar
install -D -m644 license.txt \
${DESTDIR}/usr/share/licenses/unrar/license.txt
}