21 lines
555 B
Bash
21 lines
555 B
Bash
# Template file for 'unrar'
|
|
pkgname=unrar
|
|
version=5.3.1
|
|
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@voidlinux.eu>"
|
|
license="freeware"
|
|
checksum=81303fdadb4e1322a4ff2dd4b2d5c28439dd077b982bf4d142aa1ce2a21966b2
|
|
|
|
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
|
|
}
|