~alpine/aports

community/gmnitohtml: new aport v1 SUPERSEDED

Stacy Harper: 1
 community/gmnitohtml: new aport

 1 files changed, 29 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/3526/mbox | git am -3
Learn more about email & git

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

https://git.sr.ht/~adnano/gmnitohtml
Gemini text to HTML converter
testing/

Signed-off-by: Stacy Harper <contact@stacyharper.net>
---
 community/gmnitohtml/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 community/gmnitohtml/APKBUILD

diff --git a/community/gmnitohtml/APKBUILD b/community/gmnitohtml/APKBUILD
new file mode 100644
index 0000000000..7eecf3da87
--- /dev/null
+++ b/community/gmnitohtml/APKBUILD
@@ -0,0 +1,29 @@
# Contributor: Stacy Harper <contact@stacyharper.net>
# Maintainer: Stacy Harper <contact@stacyharper.net>
pkgname=gmnitohtml
pkgver=0.1.0
pkgrel=0
pkgdesc="Gemini text to HTML converter"
url="https://git.sr.ht/~adnano/gmnitohtml"
arch="all"
license="GPL-3.0-only"
makedepends="go scdoc"
subpackages="$pkgname-doc"
builddir="$srcdir"/$pkgname-$pkgver
options="!check"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~adnano/gmnitohtml/archive/$pkgver.tar.gz
	"

build() {
	go build -v -o bin/$pkgname --tags extended
	make docs
}

package() {
	install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
	install -Dm644 "$builddir"/docs/*.1 -t "$pkgdir"/usr/share/man/man1
}
sha512sums="
deacc56784dbd7cbcf41ecdab294d089b6ef1fd3a8a6ba9843295106b7151fcad59b1ca4deedb3669ec85204bbe798c0f7ec3a17fec5d68eceec11691a57abbc  gmnitohtml-0.1.0.tar.gz
"
-- 
2.31.1
Closing since email MRs can't get revisions: !21708

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/21707#note_160820