aports/testing/sloci-image/APKBUILD
Jakub Jirutka 2be1cc02fd testing/sloci-image: new aport
https://github.com/jirutka/sloci-image
Simple script for creating single-layer OCI images
2017-11-11 21:54:10 +01:00

25 lines
721 B
Plaintext

# 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"