# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=kouhai pkgver=0_alpha4 _commit=130424590856fce57bed8a60a57b6eb3e31511ff 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" export GOPATH="$srcdir" 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=" 964d86f830ceaa8651426966031943d0b0c564f365ab0eb24b64902156c994c68e10bbfcba83549334536a6a847b86aacdcdcb8c9b68fc789135fa794f6d97ff kouhai-0_alpha4.tar.gz "