22 lines
555 B
Bash
22 lines
555 B
Bash
# Template file for 'unrar'
|
|
pkgname=unrar
|
|
version=5.3.3
|
|
revision=2
|
|
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=099c67a2fdb76e55386e4496d28cf6fd1ffd9ac394b95c46b73926c5f69bd107
|
|
|
|
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
|
|
}
|