aboutsummaryrefslogtreecommitdiffstats
path: root/community/gmnitohtml/APKBUILD
blob: 70f95ad36d67bfe4fa3393f6124145500a5a318e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
"