diff --git a/kouhai/APKBUILD b/kouhai/APKBUILD new file mode 100644 index 0000000..87969e6 --- /dev/null +++ b/kouhai/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Patrycja Rosa +# Maintainer: Patrycja Rosa +pkgname=kouhai +pkgver=0_git20220425 +_commit=9ce46d53790a08f8aead48d04ebd79137c1e161f +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" + +build() { + make GOFLAGS="$GOFLAGS" +} + +check() { + go test ./... +} + +package() { + make PREFIX=/usr DESTDIR="$pkgdir" install +} + +sha512sums=" +2952c2c9c4bdd095a402badb0ca6de253dd02587f859a265ddd7bb5133ff90eda84dc5e43638b9222bdc7836296fddc99b13c674b05d0150ed148540794b904e kouhai-0_git20220425.tar.gz +"