35 lines
868 B
Text
35 lines
868 B
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=kouhai
|
|
pkgver=0_alpha11
|
|
_commit=8ae1c34bdccf3d01f869d3135c96e32be2d78684
|
|
pkgrel=0
|
|
pkgdesc="Your everyday IRC student"
|
|
url="https://git.sr.ht/~taiite/senpai"
|
|
arch="aarch64 x86_64"
|
|
license="ISC"
|
|
makedepends="go scdoc"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ptrcnull/kouhai/archive/$_commit.tar.gz"
|
|
builddir="$srcdir/kouhai-$_commit"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sed -i "s/senpai dev build/kouhai version $pkgver/" window.go
|
|
}
|
|
|
|
build() {
|
|
make GOFLAGS="$GOFLAGS"
|
|
}
|
|
|
|
check() {
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
da72e223953052796171cf357a17376e9c8b34e69bb1d9eb28d225cfd842f218c41a96830c1caf984b19cab3e99ed25c2af3a65c50b69a2e89a8d80d883bdda7 kouhai-0_alpha11.tar.gz
|
|
"
|