2022-04-25 04:30:36 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=kouhai
|
2022-08-07 15:03:39 +00:00
|
|
|
pkgver=0_alpha9
|
|
|
|
_commit=5ae1015ff395a9e0474193c65b18b20da8fa95eb
|
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"
|
2022-08-07 15:03:39 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ptrcnull/kouhai/archive/$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/kouhai-$_commit"
|
2022-04-25 04:30:36 +00:00
|
|
|
|
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-08-07 15:03:39 +00:00
|
|
|
7eb702a805668db303b9ce7da48cd8c22a6658a339faadfb00e29b99a2ddf54c77ab6231e6b3328085dbdbe9fff44e217ed8e6ea716c25542466192df115799e kouhai-0_alpha9.tar.gz
|
2022-04-25 04:30:36 +00:00
|
|
|
"
|