2022-04-25 04:30:36 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=kouhai
|
2023-09-03 07:27:24 +00:00
|
|
|
pkgver=0_alpha12
|
|
|
|
_commit=40bbb6ca29906fa440f24cadd0b62046be4c3810
|
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="
|
2023-09-03 07:27:24 +00:00
|
|
|
cfcec817d1bb1b3d395fe32723f5205a974a07e3d3dda8be6e662bb34461e13a319f9789cb875ba2dbaa41142e689763919e5d29744461d83a81235a1fdd3f10 kouhai-0_alpha12.tar.gz
|
2022-04-25 04:30:36 +00:00
|
|
|
"
|