summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-21 00:31:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-21 00:31:46 +0000
commita4fabf90587bc96059d0af02d820bdc5f35b59a2 (patch)
tree3c7d30884b98613c8c77f1f0adb7f529653bb649 /user
parentb00699757f5925505258df34447de236fb6002a7 (diff)
downloadpackages-a4fabf90587bc96059d0af02d820bdc5f35b59a2.tar.gz
packages-a4fabf90587bc96059d0af02d820bdc5f35b59a2.tar.bz2
packages-a4fabf90587bc96059d0af02d820bdc5f35b59a2.tar.xz
packages-a4fabf90587bc96059d0af02d820bdc5f35b59a2.zip
user/rpm2targz: new package
Diffstat (limited to 'user')
-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"