aports/testing/gliderlabs-sigil/APKBUILD
2025-03-16 14:15:03 +01:00

27 lines
945 B
Text

# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname=gliderlabs-sigil
pkgver=0.11.0
pkgrel=3
pkgdesc="Standalone string interpolator and template processor"
url="https://github.com/gliderlabs/sigil"
arch="all"
license="BSD-3-Clause"
makedepends="go"
# Tests depend on github.com/progrium/basht which hasn't been updated since 2015.
options="net !check"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/gliderlabs/sigil/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/sigil-$pkgver"
build() {
go build -ldflags "-X main.Version=$pkgver" -o build/linux/$pkgname cmd/sigil.go
}
package() {
install -Dm755 "build/linux/$pkgname" "$pkgdir/usr/bin/sigil"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums="
9afc695bcfe748c68d3cc29e0448331800f1c17ecbfd004637e9eec89a5ac894626099556c21d6f20b1e276564384777eed03329c9d6aa78e799255b9e2a3332 gliderlabs-sigil-0.11.0.tar.gz
"