# Contributor: Francesco Camuffo # Maintainer: Francesco Camuffo pkgname=senpai pkgver=0.2.0 pkgrel=1 pkgdesc="Your everyday IRC student" url="https://git.sr.ht/~taiite/senpai" arch="all" license="ISC" options="net" makedepends="go scdoc" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~taiite/senpai/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { make GOFLAGS="$GOFLAGS" } check() { go test ./... } package() { make PREFIX=/usr DESTDIR="$pkgdir" install } sha512sums=" ab0a58396058d0b3691c4168755069e4c5b45266531d2d032cd6be95133a60a9ea8ceb274d6920459daacd63788b2232c66113aea7986ac01dc59132994c02a8 senpai-0.2.0.tar.gz "