name="go-bin"version=1.23.1
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=('49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd')sources_arm64=("https://dl.google.com/go/go${version}.linux-arm64.tar.gz")checksums_arm64=('faec7f7f8ae53fda0f3d408f52182d942cc89ef5b7d3d9f23ff117437d4b2d2f')sources_arm6=("https://dl.google.com/go/go${version}.linux-armv6l.tar.gz")checksums_arm6=('6c7832c7dcd8fb6d4eb308f672a725393403c74ee7be1aeccd8a443015df99de')sources_386=("https://dl.google.com/go/go${version}.linux-386.tar.gz")checksums_386=('cdee2f4e2efa001f7ee75c90f2efc310b63346cfbba7b549987e9139527c6b17')sources_riscv64=("https://dl.google.com/go/go${version}.linux-riscv64.tar.gz")checksums_riscv64=('1a4a609f0391bea202d9095453cbfaf7368fa88a04c206bf9dd715a738664dc3')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"}