forked from Plemya-x/alr-repo
		
	name='alr-bin'
version='0.0.1' release='1'
This commit is contained in:
		
							
								
								
									
										35
									
								
								alr-bin/alr.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								alr-bin/alr.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| name='alr-bin' | ||||
| version='0.0.1' | ||||
| release='1' | ||||
| desc='Any Linux Repository' | ||||
| homepage='https://gitverse.ru/sc/Xpamych/ALR' | ||||
| maintainer_ru='Евгений Храмов <xpamych@yandex.ru>' | ||||
| architectures=('amd64' 'arm64' 'arm7' 'arm6' '386' 'riscv64') | ||||
| license=('GPL-3.0-or-later') | ||||
| provides=('alr') | ||||
| conflicts=('alr' 'alr-bin' 'alr-git') | ||||
|  | ||||
| build_deps=('golang') | ||||
| build_deps_arch=('go') | ||||
| build_deps_alpine=('go') | ||||
| build_deps_opensuse=('go') | ||||
|  | ||||
| sources=("git+https://gitverse.ru/sc/Xpamych/ALR.git#tag=v${version}") | ||||
| checksums=('SKIP') | ||||
|  | ||||
| version() { | ||||
|     cd "${srcdir}/ALR" | ||||
|     git-version | ||||
| } | ||||
|  | ||||
| build() { | ||||
|     cd "${srcdir}/ALR" | ||||
|     CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$version'" | ||||
| } | ||||
|  | ||||
| package() { | ||||
|     cd "$srcdir/ALR" | ||||
|     install-binary alr | ||||
|     install-completion bash alr < scripts/completion/bash | ||||
|     install-completion zsh alr < scripts/completion/zsh  | ||||
| } | ||||
| @@ -1,6 +1,6 @@ | ||||
| name="go-bin" | ||||
| version=1.22.4 | ||||
| release=2 | ||||
| version='1.22.4' | ||||
| release='2' | ||||
| desc="Compiler and tools for the Go programming language" | ||||
| desc_ru="Компилятор и инструменты для языка программирования Go" | ||||
| homepage="https://go.dev/" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user