~alpine/aports

community/kiln: new aport v1 APPLIED

Reed Wade: 1
 community/kiln: new aport

 1 files changed, 28 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3442/mbox | git am -3
Learn more about email & git

[PATCH] community/kiln: new aport Export this patch

Signed-off-by: Reed Wade <reedwade@misterbanal.net>
---
 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 <contact@stacyharper.net>
# Maintainer: Stacy Harper <contact@stacyharper.net>
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