aboutsummaryrefslogtreecommitdiffstats
path: root/community/sloci-image/APKBUILD
blob: 745b6ba0d08d5254cc09d9ac0c7cf04ea7b8bfe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"