miniroot: new aport

This commit is contained in:
ptrcnull 2022-01-18 13:39:12 +01:00
parent a10aef7094
commit 00ca76bd27

25
miniroot/APKBUILD Normal file
View file

@ -0,0 +1,25 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=miniroot
pkgver=1.0.0
pkgrel=0
pkgdesc="docker but simpler"
url="https://git.ddd.rip/ptrcnull/miniroot"
arch="all"
license="MIT"
makedepends="go"
source="miniroot-v$pkgver.tar.gz::https://git.ddd.rip/ptrcnull/miniroot/archive/v$pkgver.tar.gz"
builddir="$srcdir/miniroot"
options="!check" # no tests provided
build() {
go build
}
package() {
install -Dm755 "$builddir"/miniroot "$pkgdir"/usr/bin/miniroot
}
sha512sums="
3d48bf75ed59e4a5908d70d12e2b6719d47ec5a45ab84db6aa6c0a240938c2ab7b174a31e0ce3ac1c36fe31347c66cc528359c4399e68c08c058906d03fb411f miniroot-v1.0.0.tar.gz
"