ptrcports/kouhai/APKBUILD

32 lines
785 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=kouhai
pkgver=0_alpha3
_commit=3bcff1b64088e2ca32e81f2c094ab1798875895b
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"
build() {
make GOFLAGS="$GOFLAGS"
}
check() {
go test ./...
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="
88ffb04afceb771e7d6ce7644ea2ba7e16be5b48d7e24169ee01a74fef9444d78a9217c2624b91c20388a95d5602f3198a9ae0485270ecd0797707dd9e28f5fb kouhai-0_alpha3.tar.gz
"