From a4fabf90587bc96059d0af02d820bdc5f35b59a2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 21 Jan 2019 00:31:46 +0000 Subject: user/rpm2targz: new package --- user/rpm2targz/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 user/rpm2targz/APKBUILD (limited to 'user/rpm2targz/APKBUILD') diff --git a/user/rpm2targz/APKBUILD b/user/rpm2targz/APKBUILD new file mode 100644 index 000000000..ca2cd6a5a --- /dev/null +++ b/user/rpm2targz/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2