Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 696D7782B56 for <~alpine/aports@lists.alpinelinux.org>; Thu, 28 Jan 2021 13:44:24 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Reed Wade To: ~alpine/aports@lists.alpinelinux.org Subject: [PATCH] community/kiln: new aport Date: Thu, 28 Jan 2021 14:37:30 +0100 Message-Id: <20210128133730.31302-1-reedwade@misterbanal.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: reedwade@misterbanal.net Signed-off-by: Reed Wade --- 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 +# Maintainer: Stacy Harper +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