# Contributor: Mike Crute <mike@crute.us>
# Maintainer: Mike Crute <mike@crute.us>
pkgname=tiny-ec2-bootstrap
pkgver=1.3.1
pkgrel=0
pkgdesc="A tiny EC2 instance bootstrapper that uses instance metadata"
url="https://github.com/mcrute/tiny-ec2-bootstrap"
arch="noarch"
license="MIT"
options="!check"  # no tests provided
depends="openrc e2fsprogs-extra"
source="$pkgname-$pkgver.tar.gz::https://github.com/mcrute/$pkgname/archive/release-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-release-$pkgver"

package() {
	cd "$builddir"
	make install PREFIX=$pkgdir
}

sha512sums="c5ba19387862b1211b70415bb291b1178a18539faa0770d5e294992a8399a9bdb0b2db3427e77bc19127aafea2991a01ff40f9560212eb7d16580f8d55154f6a  tiny-ec2-bootstrap-1.3.1.tar.gz"
