apkbuilds @ 3a981c0912f4e229e5a11c97230d2f57d1f01c3c

 1# Maintainer: Gabriel A. Giovanini <mail@gabrielgio.me>
 2pkgname=apkdoc
 3pkgver=0_git20230917
 4pkgrel=0
 5_commit=a46cf4152ac32d97e0ebd071b9eb1d3e42c7a493
 6pkgdesc="APKINDEX doc generator"
 7url="https://sr.ht/~gabrielgio/apkdoc"
 8arch="x86_64"
 9license="MIT"
10makedepends="
11    go
12    qtc
13"
14source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~gabrielgio/$pkgname/archive/$_commit.tar.gz"
15builddir="$srcdir/$pkgname-$_commit"
16
17build() {
18    make
19}
20
21check() {
22    make check
23}
24
25package() {
26	install -Dm755 bin/apkdoc "$pkgdir"/usr/bin/apkdoc
27}
28
29sha512sums="
30944a59f80d0e63d82a0e635bf51f2a61b5a651420d3f9c09788f0102de93ca944d2a3f74a93ab5a37e30efefeaa5d095115aa0a9bd14b37ae8b888f5d7c92c89  apkdoc-a46cf4152ac32d97e0ebd071b9eb1d3e42c7a493.tar.gz
31"