2022-04-25 04:30:36 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=kouhai
|
2024-04-11 16:22:17 +00:00
|
|
|
pkgver=0_alpha13
|
|
|
|
_commit=4c38ba0f2b807a824b5585f16fba4da138e97c3f
|
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"
|
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-04-11 16:22:17 +00:00
|
|
|
9584d93da396c8051fa83f503ae425846061de93aa67361c837b1decdef4fe0a3794a55e64b333276de3699085f768fd4fa202ffbb3cf7767d5765b0ba1bc5d3 kouhai-0_alpha13.tar.gz
|
2022-04-25 04:30:36 +00:00
|
|
|
"
|