aboutsummaryrefslogtreecommitdiffstats
path: root/testing/madonctl/APKBUILD
blob: be2034a69aeb70517a02d11281d4cdf6c93a99ad (plain)
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
# Contributor: mio <miyopan@e.email>
# Maintainer: mio <miyopan@e.email>
pkgname=madonctl
pkgver=0_git20210711
pkgrel=3
_gitrev=8ecb5fad4db276453ceca2123fcf568fe77ca211
pkgdesc="CLI client for the Mastodon social network API"
url="https://github.com/McKael/madonctl"
license="MIT"
arch="all"
makedepends="go"
source="madonctl-$_gitrev.tar.gz::https://github.com/McKael/madonctl/archive/$_gitrev.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_gitrev"

build() {
	go build
}

package() {
	install -Dm0755 madonctl -t "$pkgdir"/usr/bin
}
sha512sums="
8a11fc6a9495248c424ddf9cdf9028c8faf984f554f4e112f5336519764ea75076d9b566b4255df67afe46797fbc7a50d8c9c109c29d4b7f16d5297a0f49f075  madonctl-8ecb5fad4db276453ceca2123fcf568fe77ca211.tar.gz
"