35 lines
834 B
Text
35 lines
834 B
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=kouhai
|
|
pkgver=0_alpha8
|
|
_commit=2e487cef65533921f6bcfc5ba4fabf9141580166
|
|
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="
|
|
663b638154452740758406c7a42402652a0a14394b9002b7894ea7b9d9dca5657b07feef393f7f1b02c765e85717bfe32f95b991a02d119807f77728e7c6380e kouhai-0_alpha8.tar.gz
|
|
"
|