# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=kouhai
pkgver=0_git20220426
_commit=c8a42c205feca1dbf8358613dc0ae1b745ea0bbe
pkgrel=0
pkgdesc="Your everyday IRC student"
url="https://git.sr.ht/~taiite/senpai"
arch="all"
license="ISC"
makedepends="go scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ptrcnull/senpai/archive/$_commit.tar.gz"
builddir="$srcdir/senpai-$_commit"
build() {
make GOFLAGS="$GOFLAGS"
}
check() {
go test ./...
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
sha512sums="
a57cd5decb91054a84f378a62cba54196f275c45ae987144cacccc637eaf316114348b0d181a16fa084a7149f82fad41a19901eb93244c073edfe108fd79f706 kouhai-0_git20220426.tar.gz
"