2022-04-25 04:30:36 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=kouhai
|
2022-06-04 15:03:51 +00:00
|
|
|
pkgver=0_alpha7
|
|
|
|
_commit=1408faa27a44d34f9d96a3b67ef8f7e7bee867f6
|
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-06-04 15:03:51 +00:00
|
|
|
5ab15d7960e80f1ce7acec344161b74411f50f2e6ed299005cee21b5bddb4cf5f5ab963ca4424558aacbcc421017021bb8603fa28aed8cdcd4a6835ddad8f5ff kouhai-0_alpha7.tar.gz
|
2022-04-25 04:30:36 +00:00
|
|
|
"
|