# Contributor: Sören Tempel # Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=unrar pkgver=5.5.8 pkgrel=0 pkgdesc="The RAR uncompression program" url="http://www.rarlab.com" arch="all" options="!check" # No test suite. license="custom" depends="" makedepends="" subpackages="$pkgname-doc" source="http://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz makefile.patch" builddir="$srcdir"/$pkgname build() { cd "$builddir" make CXX="${CXX:-g++}" CXXFLAGS="$CXXFLAGS" \ LDFLAGS="$LDFLAGS" STRIP=: -f makefile } package() { cd "$builddir" install -Dm755 unrar "$pkgdir"/usr/bin/unrar install -Dm644 license.txt \ "$pkgdir/usr/share/licenses/$pkgname/license.txt" } sha512sums="9eac83707fa47a03925e5f3e8adf47889064d748304b732d12a2d379ab525b441f1aa33216377d4ef445f45c4e8ad73d2cd0b560601ceac344c60571b77fd6aa unrarsrc-5.5.8.tar.gz 16ac44a1d5f3673ead8a974245b93f45e880d3df562bfd5029f955a1ff24f7bee36e02cda014669393932de0e9b25af307d84fb4a383e1e0e45ae6a13875b83a makefile.patch"