2010-11-18 13:10:56 +00:00
|
|
|
# Template file for 'unrar'
|
|
|
|
pkgname=unrar
|
2014-12-03 14:37:01 +00:00
|
|
|
version=5.2.3
|
2014-10-14 17:44:14 +00:00
|
|
|
revision=1
|
2010-11-18 13:10:56 +00:00
|
|
|
wrksrc=unrar
|
2014-11-01 12:10:22 +00:00
|
|
|
repository="nonfree"
|
2011-11-21 10:52:21 +00:00
|
|
|
homepage="http://www.rarlab.com/rar"
|
2014-11-03 13:14:56 +00:00
|
|
|
update_pkgname=unrarsrc
|
|
|
|
update_site="http://www.rarlab.com/rar_add.htm"
|
2011-11-21 10:52:21 +00:00
|
|
|
distfiles="${homepage}/unrarsrc-${version}.tar.gz"
|
2010-11-18 13:10:56 +00:00
|
|
|
short_desc="Unarchiver for .rar files (non-free version)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-10-14 17:44:14 +00:00
|
|
|
license="freeware"
|
2014-12-03 14:37:01 +00:00
|
|
|
checksum=d249d34541dba39234cdf661ccec80e44334efe50c3ca1d7c51186cd5d26e072
|
2010-11-18 13:10:56 +00:00
|
|
|
|
2011-11-21 10:52:21 +00:00
|
|
|
do_build() {
|
2014-10-14 17:44:14 +00:00
|
|
|
sed -i 's/^\(CXXFLAGS\)=\(.*\)/\1?=\2/' makefile
|
|
|
|
make CXX="$CXX" LD="$LD" STRIP="$STRIP" -f makefile
|
2010-11-18 13:10:56 +00:00
|
|
|
}
|
|
|
|
|
2011-11-21 10:52:21 +00:00
|
|
|
do_install() {
|
2014-10-14 17:44:14 +00:00
|
|
|
vbin unrar
|
|
|
|
vlicense license.txt
|
2010-11-18 13:10:56 +00:00
|
|
|
}
|