Subject: [PATCH] community/kiln: new aport

From: Reed Wade <[email-masked]>
Date: Thu, 28 Jan 2021 14:37:30 +0100

Signed-off-by: Reed Wade <[email-masked]>
---
 community/kiln/APKBUILD | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 community/kiln/APKBUILD

diff --git a/community/kiln/APKBUILD b/community/kiln/APKBUILD
new file mode 100644
index 0000000000..7996c8719f
--- /dev/null
+++ b/community/kiln/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Stacy Harper <[email-masked]>
+# Maintainer: Stacy Harper <[email-masked]>
+pkgname=kiln
+pkgver=0.1.0
+pkgrel=0
+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"
+builddir="$srcdir"/$pkgname-v$pkgver
+source="
+	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~adnano/kiln/archive/v$pkgver.tar.gz
+	"
+
+build() {
+	go build -v -o bin/$pkgname --tags extended
+	make doc
+}
+
+package() {
+	install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+	install -Dm644 "$builddir"/*.1 -t "$pkgdir"/usr/share/man/man1
+
+	cp -a "$builddir"/example "$pkgdir"/usr/share/$pkgname
+}
+sha512sums="f6ec86de57dd60db3cdd538bc61f985268d9c074f44dcac85a8252a7a22b77b9df7d7ace5f755b76587f24a39954bab8a7348bb30cce1d661c8e6a1a22736184  kiln-0.1.0.tar.gz"
-- 
2.30.0