21 lines
552 B
Bash
21 lines
552 B
Bash
# Template file for 'unrar'
|
|
pkgname=unrar
|
|
version=5.2.7
|
|
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=ef14757e943787b439fedf2c564c1f38d0db315528a928e0de170860717e2fac
|
|
|
|
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
|
|
}
|