ptrcports/alpine/kouhai/APKBUILD

36 lines
900 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=kouhai
pkgver=0_alpha15
_commit=733ef8b1c67226096303dcfdadf7be3903d37c3f
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="
d094fdf607e7edd0156d69e840e60bda352ed305783d1759507f74fef06e99fdc9ae1e0ac5e1327491eb36981db5838476c59e3c3f3b9d3e31191a32d739d33f kouhai-0_alpha15.tar.gz
"