diff --git a/alr-bin/alr.sh b/alr-bin/alr.sh index 08ca24b..279f4ae 100644 --- a/alr-bin/alr.sh +++ b/alr-bin/alr.sh @@ -1,6 +1,6 @@ name='alr-bin' version='0.0.1' -release='1' +release='2' desc='Any Linux Repository' homepage='https://gitverse.ru/sc/Xpamych/ALR' maintainer_ru='Евгений Храмов ' @@ -17,11 +17,6 @@ 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'"