aports/testing/pyonji/APKBUILD
2025-04-11 19:40:50 +02:00

30 lines
685 B
Text

# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=pyonji
pkgver=0.1.0
pkgrel=4
pkgdesc="Easy-to-use tool to send e-mail patches"
url="https://git.sr.ht/~emersion/pyonji"
arch="all"
license="GPL-3.0-only"
depends="git"
makedepends="go"
source="https://git.sr.ht/~emersion/pyonji/refs/download/v$pkgver/pyonji-$pkgver.tar.gz"
options="net" # downloading go modukes
build() {
go build
}
check() {
go test ./...
}
package() {
install -Dm755 pyonji \
-t "$pkgdir"/usr/bin/
}
sha512sums="
409604f1773cacd9f36c36ac053ab1ff8ef037588283cf75fe4ecc40f9f4c3927c98a10aeecb3d44e2973f65ea92813a0f3fc49d4bb7f58c9ee3093cf433b0c6 pyonji-0.1.0.tar.gz
"