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

37 lines
861 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=kouhai
pkgver=0_alpha4
_commit=130424590856fce57bed8a60a57b6eb3e31511ff
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"
export GOPATH="$srcdir"
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="
964d86f830ceaa8651426966031943d0b0c564f365ab0eb24b64902156c994c68e10bbfcba83549334536a6a847b86aacdcdcb8c9b68fc789135fa794f6d97ff kouhai-0_alpha4.tar.gz
"