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_alpha13
|
|
_commit=4c38ba0f2b807a824b5585f16fba4da138e97c3f
|
|
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="
|
|
9584d93da396c8051fa83f503ae425846061de93aa67361c837b1decdef4fe0a3794a55e64b333276de3699085f768fd4fa202ffbb3cf7767d5765b0ba1bc5d3 kouhai-0_alpha13.tar.gz
|
|
"
|