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

38 lines
861 B
Text
Raw Normal View History

2022-04-25 04:30:36 +00:00
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=kouhai
2022-04-26 16:21:16 +00:00
pkgver=0_alpha4
_commit=130424590856fce57bed8a60a57b6eb3e31511ff
2022-04-25 04:30:36 +00:00
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"
2022-04-26 16:04:48 +00:00
export GOPATH="$srcdir"
2022-04-26 16:21:16 +00:00
prepare() {
default_prepare
sed -i "s/production/$pkgver/" window.go
}
2022-04-25 04:30:36 +00:00
build() {
make GOFLAGS="$GOFLAGS"
}
check() {
go test ./...
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="
2022-04-26 16:21:16 +00:00
964d86f830ceaa8651426966031943d0b0c564f365ab0eb24b64902156c994c68e10bbfcba83549334536a6a847b86aacdcdcb8c9b68fc789135fa794f6d97ff kouhai-0_alpha4.tar.gz
2022-04-25 04:30:36 +00:00
"