aports/testing/mods/APKBUILD
2026-02-04 17:13:15 +01:00

32 lines
812 B
Plaintext

# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
pkgname=mods
pkgver=1.8.1
pkgrel=5
pkgdesc="AI for the command line, built for pipelines."
url="https://github.com/charmbracelet/mods"
arch="all"
license="MIT"
makedepends="go"
subpackages="$pkgname-doc"
options="net" #go deps
source="$pkgname-$pkgver.tar.gz::https://github.com/charmbracelet/mods/archive/refs/tags/v$pkgver.tar.gz"
build() {
mkdir build
go build -v -o build/ ./...
}
check() {
go test ./...
}
package() {
install -Dm755 build/mods $pkgdir/usr/bin/mods
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
472ac3e1360bdf2920d944addaf884e09afc2ef2d05f451c1091c607f95afc9af46d957c89f966d98bde2d93fe50dbeb07d30402a4d304381b23d70fe46de96b mods-1.8.1.tar.gz
"