# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rpm2targz
pkgver=9.0.0.5g
pkgrel=0
pkgdesc="Convert Red Hat packages (RPM) to .tar.gz archives"
url="http://www.slackware.com/config/packages.php"
arch="all"
license="BSD-1-Clause"
depends="cmd:cpio xz"
makedepends=""
subpackages=""
source="https://distfiles.adelielinux.org/source/rpm2targz-$pkgver.tar.xz"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a595d23581bd396a3a00b6eae4cf6edca1c65b52510a02c7b162afc3d89f45026663a271279bb519741b4a35a0ee653fbfb124c5a7d6d921b466dc9236cbf549  rpm2targz-9.0.0.5g.tar.xz"