# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=unarj
pkgver=2.65
pkgrel=2
pkgdesc="Extracting, testing and  viewing the contents of archives created with the ARJ archiver"
options="!check" # No testsuite
url="http://www.arjsoftware.com"
arch="all"
license="custom"
source="https://src.fedoraproject.org/repo/pkgs/unarj/unarj-$pkgver.tar.gz/c6fe45db1741f97155c7def322aa74aa/unarj-$pkgver.tar.gz
	format-security.patch
	time64.patch
	"

build() {
	make
}

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

sha512sums="
747bdc940fcb8ac28207a90cec8011deb93fe26064a44c94de44d7dfc82cb1cc6db2d1a648af3626283fc4f5d608ec312900455827fd1b7835ccfb89e71a7ac7  unarj-2.65.tar.gz
42f18ea719ab908694b3105e90c0d9c8567fba7c76c98c5cbaf1cd482d0e0c3bca121b4b768967ca3dfb33314246a670eeda2badd21eb9c39e080ddd9ce6cf1f  format-security.patch
5c699162ef6c1d66e9b25dd0eb9b1684211622c09665b467751a7cb599dba4b1e888818a89fb846574adc858ea962ec114e65f08e62e7d21d28f282ee797b330  time64.patch
"
