ALR git версия
This commit is contained in:
parent
14b599a4a3
commit
1eae5de542
@ -2,7 +2,7 @@ name='alr-git'
|
||||
version='latest'
|
||||
release=1
|
||||
desc='Any Linux Repository'
|
||||
homepage='https://gitflic.ru/project/xpamych/alr'
|
||||
homepage='https://gitverse.ru/sc/Xpamych/ALR'
|
||||
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64' 'arm64' 'arm7' 'arm6' '386' 'riscv64')
|
||||
@ -15,21 +15,21 @@ build_deps_arch=('go')
|
||||
build_deps_alpine=('go')
|
||||
build_deps_opensuse=('go')
|
||||
|
||||
sources=("https://gitflic.ru/project/xpamych/alr.git")
|
||||
sources=("git+https://gitverse.ru/sc/Xpamych/ALR.git")
|
||||
checksums=('SKIP')
|
||||
|
||||
version() {
|
||||
cd "${srcdir}/alr"
|
||||
cd "${srcdir}/ALR"
|
||||
git-version
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/alr"
|
||||
cd "${srcdir}/ALR"
|
||||
CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$version'"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/alr"
|
||||
cd "$srcdir/ALR"
|
||||
install-binary alr
|
||||
install-completion bash alr < scripts/completion/bash
|
||||
install-completion zsh alr < scripts/completion/zsh
|
||||
|
Loading…
Reference in New Issue
Block a user