aboutsummaryrefslogblamecommitdiffstats
path: root/community/sloci-image/APKBUILD
blob: 836d7e093f8c9479ceec4db5b64456027479eacb (plain) (tree)
1
2
3
4


                                               
            


















                                                                                             
                                                                                                                                                                       
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=sloci-image
pkgver=0.1.1
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="54f8f8f0dc1a0b31d54e98197777891c527aa21c6b0f688bf82bf157d603a4bf74223cc871debd8def1c4d0302f87ef7692625455beefb0901f6667af1df85f3  sloci-image-0.1.1.tar.gz"