ptrcports/kouhai/APKBUILD

36 lines
836 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-05-04 16:28:53 +00:00
pkgver=0_alpha5
_commit=6959542707ad35d90a6a0fa3859edb2eab9c27c7
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: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-05-04 16:28:53 +00:00
3b1d6ace91b6270bb1ff024a7a9e92df171c6bf19fe5b6d7c6f605c534e1685ed0020ecededb7f154d548bb53afdd9242641e834e8f4e9d2e68713e589362a43 kouhai-0_alpha5.tar.gz
2022-04-25 04:30:36 +00:00
"