# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=kouhai pkgver=0_alpha10 _commit=d8573d22fadd5de0e7b29343a2d0ead470f9b3a4 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/kouhai/archive/$_commit.tar.gz" builddir="$srcdir/kouhai-$_commit" prepare() { default_prepare sed -i "s/production/$pkgver/" window.go } build() { make GOFLAGS="$GOFLAGS" } check() { go test ./... } package() { make PREFIX=/usr DESTDIR="$pkgdir" install } sha512sums=" beb5c5c6754e6c0f65e5c7b52f2e1f5795a94e6a8288062babd3e8c5ede414c9ad56151396d60a3f2c574b19fc5670c1c6b58df969586318ef2e4e373392ce9c kouhai-0_alpha10.tar.gz "