This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
ptrcports/kouhai/APKBUILD

35 lines
834 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=kouhai
pkgver=0_alpha6
_commit=23819b4481a9c93572d8489103d4293fe66715ab
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="
a8c691fc2aadf01b521b744b6715fb632f0850f7cdb8c5b8290079bace1e53caa9f3823e335e30ef3626190ae6b3e82768296575bcce90d37c171cbdf8d28396 kouhai-0_alpha6.tar.gz
"