summaryrefslogtreecommitdiff
path: root/user/rpm2targz
diff options
context:
space:
mode:
Diffstat (limited to 'user/rpm2targz')
-rw-r--r--user/rpm2targz/APKBUILD30
1 files changed, 30 insertions, 0 deletions
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 <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"