name='alr-bin'

version='0.0.1'
release='2'
This commit is contained in:
Евгений Храмов 2024-07-20 16:51:42 +03:00
parent 7f2d1c5dc8
commit 26cdce4774

@ -1,6 +1,6 @@
name='alr-bin' name='alr-bin'
version='0.0.1' version='0.0.1'
release='1' release='2'
desc='Any Linux Repository' desc='Any Linux Repository'
homepage='https://gitverse.ru/sc/Xpamych/ALR' homepage='https://gitverse.ru/sc/Xpamych/ALR'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>' maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
@ -17,11 +17,6 @@ build_deps_opensuse=('go')
sources=("git+https://gitverse.ru/sc/Xpamych/ALR.git#tag=v${version}") sources=("git+https://gitverse.ru/sc/Xpamych/ALR.git#tag=v${version}")
checksums=('SKIP') checksums=('SKIP')
version() {
cd "${srcdir}/ALR"
git-version
}
build() { build() {
cd "${srcdir}/ALR" cd "${srcdir}/ALR"
CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$version'" CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$version'"