aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStacy Harper <contact@stacyharper.net>2021-05-29 21:21:50 +0200
committerdispatch <dispatch@listserv.local>2021-05-29 19:22:07 +0000
commit24d35b73295988d3bfe38c6b73ccb451b18e4a7b (patch)
tree7c9b1e289b902523f1e6d2e0e00aa79bbcc99052
parentd043df5d0ccdec81bd3ea8047d1381e3b2bb26c8 (diff)
downloadaports-patches/3534.tar.gz
aports-patches/3534.tar.bz2
aports-patches/3534.tar.xz
community/gmnitohtml: new aportpatches/3534
https://git.sr.ht/~adnano/gmnitohtml Gemini text to HTML converter testing/ Signed-off-by: Stacy Harper <contact@stacyharper.net>
-rw-r--r--community/gmnitohtml/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/gmnitohtml/APKBUILD b/community/gmnitohtml/APKBUILD
new file mode 100644
index 0000000000..70f95ad36d
--- /dev/null
+++ b/community/gmnitohtml/APKBUILD
@@ -0,0 +1,27 @@
+# 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"
+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 gmnitohtml.1
+}
+
+package() {
+ install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 "$builddir"/*.1 -t "$pkgdir"/usr/share/man/man1
+}
+sha512sums="
+deacc56784dbd7cbcf41ecdab294d089b6ef1fd3a8a6ba9843295106b7151fcad59b1ca4deedb3669ec85204bbe798c0f7ec3a17fec5d68eceec11691a57abbc gmnitohtml-0.1.0.tar.gz
+"