ptrcports/kouhai/APKBUILD

35 lines
834 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=kouhai
pkgver=0_alpha7
_commit=1408faa27a44d34f9d96a3b67ef8f7e7bee867f6
pkgrel=0
pkgdesc="Your everyday IRC student"
url="https://git.sr.ht/~taiite/senpai"
arch="all"
license="ISC"
makedepends="go scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ptrcnull/senpai/archive/$_commit.tar.gz"
builddir="$srcdir/senpai-$_commit"
prepare() {
default_prepare
sed -i "s/production/$pkgver/" window.go
}
build() {
make GOFLAGS="$GOFLAGS"
}
check() {
go test ./...
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="
5ab15d7960e80f1ce7acec344161b74411f50f2e6ed299005cee21b5bddb4cf5f5ab963ca4424558aacbcc421017021bb8603fa28aed8cdcd4a6835ddad8f5ff kouhai-0_alpha7.tar.gz
"