# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=kouhai pkgver=0_alpha5 _commit=6959542707ad35d90a6a0fa3859edb2eab9c27c7 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" 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=" 3b1d6ace91b6270bb1ff024a7a9e92df171c6bf19fe5b6d7c6f605c534e1685ed0020ecededb7f154d548bb53afdd9242641e834e8f4e9d2e68713e589362a43 kouhai-0_alpha5.tar.gz "