# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=unrar pkgver=4.1.3 pkgrel=0 pkgdesc="The RAR uncompression program" url="http://www.rarlab.com" arch="all" license="GPL" depends= makedepends= subpackages="$pkgname-doc" source="http://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname" make -f makefile.unix || return 1 } package() { cd "$srcdir/$pkgname" install -Dm755 unrar "$pkgdir"/usr/bin/unrar install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt" } md5sums="0cc7562737e7440f4fe611bdd5b56628 unrarsrc-4.1.3.tar.gz"