2022-04-25 04:30:36 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=kouhai
|
2022-07-23 04:55:23 +00:00
|
|
|
pkgver=0_alpha8
|
|
|
|
_commit=2e487cef65533921f6bcfc5ba4fabf9141580166
|
2022-04-25 04:30:36 +00:00
|
|
|
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"
|
|
|
|
|
2022-04-26 16:21:16 +00:00
|
|
|
prepare() {
|
2022-05-24 11:29:04 +00:00
|
|
|
default_prepare
|
|
|
|
sed -i "s/production/$pkgver/" window.go
|
2022-04-26 16:21:16 +00:00
|
|
|
}
|
|
|
|
|
2022-04-25 04:30:36 +00:00
|
|
|
build() {
|
|
|
|
make GOFLAGS="$GOFLAGS"
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
go test ./...
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-07-23 04:55:23 +00:00
|
|
|
663b638154452740758406c7a42402652a0a14394b9002b7894ea7b9d9dca5657b07feef393f7f1b02c765e85717bfe32f95b991a02d119807f77728e7c6380e kouhai-0_alpha8.tar.gz
|
2022-04-25 04:30:36 +00:00
|
|
|
"
|