alr-bin 0.0.9
This commit is contained in:
parent
18e7b47666
commit
c212aada6a
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
.directory
|
.directory
|
||||||
.idea
|
.idea
|
||||||
|
.gigaide
|
@ -1,5 +1,5 @@
|
|||||||
name='alr-bin'
|
name='alr-bin'
|
||||||
version='0.0.8'
|
version='0.0.9'
|
||||||
release='1'
|
release='1'
|
||||||
desc='Any Linux Repository'
|
desc='Any Linux Repository'
|
||||||
homepage='https://gitverse.ru/sc/Xpamych/ALR'
|
homepage='https://gitverse.ru/sc/Xpamych/ALR'
|
||||||
@ -14,19 +14,17 @@ build_deps_arch=('go')
|
|||||||
build_deps_alpine=('go')
|
build_deps_alpine=('go')
|
||||||
build_deps_opensuse=('go')
|
build_deps_opensuse=('go')
|
||||||
|
|
||||||
sources=("git+https://gitea.plemya-x.ru/Plemya-x/ALR.git#tag=v${version}")
|
sources=("https://gitea.plemya-x.ru/Plemya-x/ALR/releases/download/v${version}/alr-${version}-linux-x86_64.tar.gz")
|
||||||
checksums=('SKIP')
|
checksums=('SKIP')
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
cd "${srcdir}/ALR"
|
cd $srcdir
|
||||||
CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$version'" -o alr
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/ALR"
|
|
||||||
install-binary alr
|
install-binary alr
|
||||||
install-completion bash alr < scripts/completion/bash
|
install-completion bash alr < ./completions/alr
|
||||||
install-completion zsh alr < scripts/completion/zsh
|
install-completion zsh alr < ./completions/_alr
|
||||||
}
|
}
|
||||||
|
|
||||||
files() {
|
files() {
|
||||||
|
Loading…
Reference in New Issue
Block a user