2022-04-25 04:30:36 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=kouhai
|
2024-07-06 23:14:54 +00:00
|
|
|
pkgver=0_alpha14
|
|
|
|
_commit=dff179834d7d52bbaf54def65c44712f21ffd786
|
2022-04-25 04:30:36 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Your everyday IRC student"
|
|
|
|
url="https://git.sr.ht/~taiite/senpai"
|
2023-05-03 01:11:45 +00:00
|
|
|
arch="aarch64 x86_64"
|
2022-04-25 04:30:36 +00:00
|
|
|
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"
|
2024-07-06 23:14:54 +00:00
|
|
|
options="net" # go dependencies
|
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
|
2023-08-28 20:33:52 +00:00
|
|
|
sed -i "s/senpai dev build/kouhai version $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="
|
2024-07-06 23:14:54 +00:00
|
|
|
8a72eae3b64b1fe1c0c19c16a8c90ddb3f7e672438108efd7910799f7b9b4855320ec8fe576da12291f72358013cc77e2712bc2b2c87a90368154cfef77a7c8f kouhai-0_alpha14.tar.gz
|
2022-04-25 04:30:36 +00:00
|
|
|
"
|