2022-04-25 04:30:36 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=kouhai
|
2023-01-28 21:07:41 +00:00
|
|
|
pkgver=0_alpha10
|
|
|
|
_commit=d8573d22fadd5de0e7b29343a2d0ead470f9b3a4
|
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="
|
2023-01-28 21:07:41 +00:00
|
|
|
beb5c5c6754e6c0f65e5c7b52f2e1f5795a94e6a8288062babd3e8c5ede414c9ad56151396d60a3f2c574b19fc5670c1c6b58df969586318ef2e4e373392ce9c kouhai-0_alpha10.tar.gz
|
2022-04-25 04:30:36 +00:00
|
|
|
"
|