alr-bin 0.0.14-2

This commit is contained in:
2025-05-16 23:32:47 +03:00
parent 5e1a9f4488
commit 95ba15009f
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
name='alr-bin'
version='0.0.14'
release='1'
release='2'
desc='Any Linux Repository'
homepage='https://gitea.plemya-x.ru/Plemya-x/ALR'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
@ -22,8 +22,8 @@ prepare() {
package() {
install-binary alr
install-completion bash alr < ./completions/alr
install-completion zsh alr < ./completions/_alr
install-completion bash alr < ./completion/alr
install-completion zsh alr < ./completion/_alr
}
files() {

View File

@ -1,5 +1,5 @@
name='alr-git'
version='195.c632ddb354'
version='213.2f1770b43b'
release='1'
desc='Any Linux Repository'
homepage='https://gitea.plemya-x.ru/Plemya-x/ALR'
@ -29,7 +29,7 @@ version() {
build() {
cd "${srcdir}/ALR"
CGO_ENABLED=0 go build -ldflags="-X 'gitea.plemya-x.ru/Plemya-x/ALR/internal/config.Version=$(GIT_VERSION)'" -o alr
CGO_ENABLED=0 go build -ldflags="-X 'gitea.plemya-x.ru/Plemya-x/ALR/internal/config.Version=git-$version'" -o alr
}
package() {