name="go-bin"version=1.23.4
release=1desc="Compiler and tools for the Go programming language"desc_ru="Компилятор и инструменты для языка программирования Go"homepage="https://go.dev/"maintainer='Elara Musayelyan <elara@elara.ws>'maintainer_ru='Элара Мусаелян <elara@elara.ws>'architectures=('amd64''arm64''arm6''386''riscv64')license=('BSD-3-Clause')provides=('go''golang')conflicts=('go''golang''golang-bin''golang-go')sources_amd64=("https://dl.google.com/go/go${version}.linux-amd64.tar.gz")checksums_amd64=('6924efde5de86fe277676e929dc9917d466efa02fb934197bc2eba35d5680971')sources_arm64=("https://dl.google.com/go/go${version}.linux-arm64.tar.gz")checksums_arm64=('16e5017863a7f6071363782b1b8042eb12c6ca4f4cd71528b2123f0a1275b13e')sources_arm6=("https://dl.google.com/go/go${version}.linux-armv6l.tar.gz")checksums_arm6=('1f1dda0dc7ce0b2295f57258ec5ef0803fd31b9ed0aa20e2e9222334e5755de1')sources_386=("https://dl.google.com/go/go${version}.linux-386.tar.gz")checksums_386=('4a4a0e7587ef8c8a326439b957027f2791795e2d29d4ae3885b4091a48f843bc')sources_riscv64=("https://dl.google.com/go/go${version}.linux-riscv64.tar.gz")checksums_riscv64=('7c40e9e0d722cef14ede765159ba297f4c6e3093bb106f10fbccf8564780049a')package(){ mkdir -p "$pkgdir/usr/lib/""$pkgdir/usr/bin" cp -r "$srcdir/go""$pkgdir/usr/lib/go" ln -s "$pkgdir/usr/lib/go/bin/go""$pkgdir/usr/bin/go"}