# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=unarj
pkgver=2.63a
pkgrel=4
pkgdesc="Extracting, testing and  viewing the contents of archives created with the ARJ archiver"
url="http://www.arjsoftware.com"
arch="all"
license="custom"
source="http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz
	format.patch"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	install -D -m755 unarj $pkgdir/usr/bin/unarj
}

sha512sums="4f8aed311b8626f6bbefc7ad3296c1e69e8c89e79e4b853124502939ca83e2eb0352b64a5b71b2572e948a97a31416e678bc4ce30519631732001cfe7bb983d2  unarj-2.63a.tar.gz
078cb5f300bb1022589b6a79d0022a992e92baec0015af33d158a44e5c97970e7fa5e975c965cd0897c6da316a461a503dae7d310f89660271175285ba06a6ff  format.patch"
