aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sloci-image
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-11-11 21:53:49 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-11 21:54:10 +0100
commit2be1cc02fdbb8a09ba0548c3e8fd88048be46981 (patch)
treeac9fc54aedcd261d06c5931cba6975a5f17433be /testing/sloci-image
parenta49eca1d4d9da0c2834ea6471d8bec9bf63a5dfd (diff)
downloadaports-2be1cc02fdbb8a09ba0548c3e8fd88048be46981.tar.bz2
aports-2be1cc02fdbb8a09ba0548c3e8fd88048be46981.tar.xz
testing/sloci-image: new aport
https://github.com/jirutka/sloci-image Simple script for creating single-layer OCI images
Diffstat (limited to 'testing/sloci-image')
-rw-r--r--testing/sloci-image/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/sloci-image/APKBUILD b/testing/sloci-image/APKBUILD
new file mode 100644
index 0000000000..745b6ba0d0
--- /dev/null
+++ b/testing/sloci-image/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=sloci-image
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="Simple script for creating single-layer OCI images"
+url="https://github.com/jirutka/sloci-image"
+arch="noarch"
+license="MIT"
+depends="/bin/sh tar"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+check() {
+ cd "$builddir"
+ ./sloci-image --version
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+}
+
+sha512sums="ef97a253c8fc8ddf141b5b5985c34fcf890ab881a6c658f7f6200c59ab3a4641e60e0cbe6adc6bafc3cbd348643f5ac7f2308cf650d5468a4e4c998a36597a56 sloci-image-0.1.0.tar.gz"