ptrcports/kouhai/APKBUILD

36 lines
900 B
Text

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