# Description: Extracts RAR archives
# URL: https://www.rarlab.com/rar_add.htm
# Maintainer: Tim Biermann, tbier at posteo dot de

name=unrar
version=6.1.3
release=1
source=(https://www.rarlab.com/rar/${name}src-$version.tar.gz)

build() {
  cd $name
  make CXXFLAGS="$CXXFLAGS" STRIP=:
  make install DESTDIR=$PKG/usr
}