# Maintainer: Willow Barraco pkgname=kiln pkgver=0.4.0 pkgrel=9 pkgdesc="Simple static site generator for Gemini sites" url="https://git.sr.ht/~adnano/kiln" arch="all" license="GPL-3.0-only" makedepends="go scdoc" subpackages="$pkgname-doc" options="!check" source=" $pkgname-$pkgver.tar.gz::https://git.sr.ht/~adnano/kiln/archive/$pkgver.tar.gz " export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { make VERSION=$pkgver GOFLAGS="$GOFLAGS" } package() { install -Dm755 "$builddir"/$pkgname "$pkgdir"/usr/bin/$pkgname install -Dm644 "$builddir"/docs/*.1 -t "$pkgdir"/usr/share/man/man1 cp -a "$builddir"/templates "$pkgdir"/usr/share/$pkgname } sha512sums=" 6c40470b8dc7c506bb88f28c53ae415719d9b1e8a691cf353952f55647b60bd153d9e38af69efc2ff99b92b64b20b694f039c2aa7e9d3555e1cfdfdc1d2740c6 kiln-0.4.0.tar.gz "