aboutsummaryrefslogtreecommitdiffstats
path: root/community/sloci-image/APKBUILD
blob: 8475afc3ee09224a8e0fe3ebd5b63257ffd2ad7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=sloci-image
pkgver=0.1.2
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="
d664c1a897c09e61aaead025286ecdc75de79172f9f036b44223d7d3ace16cc8a91e0ed3877b87d07a4943da877c538878e4873498273e794f7a789f7a0d769a  sloci-image-0.1.2.tar.gz
"