Обновление alr-bin до версии 0.0.17
This commit is contained in:
@@ -1,29 +1,38 @@
|
|||||||
name='alr-bin'
|
name="alr-bin"
|
||||||
version='0.0.16'
|
version="0.0.17"
|
||||||
release='1'
|
release="1"
|
||||||
desc='Any Linux Repository'
|
desc="ALT Linux Repository tool - binary release"
|
||||||
homepage='https://gitea.plemya-x.ru/Plemya-x/ALR'
|
homepage="https://gitea.plemya-x.ru/Plemya-x/alr"
|
||||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
maintainer="ALR Updater Bot"
|
||||||
architectures=('amd64' 'arm64' 'arm7' 'arm6' '386' 'riscv64')
|
architectures=('x86_64')
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
provides=('alr')
|
provides=('alr')
|
||||||
conflicts=('alr' 'alr-bin' 'alr-git')
|
conflicts=('alr' 'alr-git')
|
||||||
|
|
||||||
sources=("https://gitea.plemya-x.ru/Plemya-x/ALR/releases/download/v${version}/alr-${version}-linux-x86_64.tar.gz")
|
sources=("https://gitea.plemya-x.ru/Plemya-x/ALR/releases/download/v0.0.17/alr-0.0.17-linux-x86_64.tar.gz")
|
||||||
checksums=('SKIP')
|
checksums=("1af629d138e4b09e16e9b44c5497dd102bde2fcded54bf5c4efafdc3fde0eada")
|
||||||
|
|
||||||
prepare() {
|
backup=()
|
||||||
cd $srcdir
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install-binary alr
|
# Распаковываем архив
|
||||||
install-completion bash alr < ./completion/alr
|
cd "${srcdir}"
|
||||||
install-completion zsh alr < ./completion/_alr
|
|
||||||
}
|
# Устанавливаем бинарный файл
|
||||||
|
install -Dm755 alr "${pkgdir}/usr/bin/alr"
|
||||||
files() {
|
|
||||||
echo ./usr/bin/alr
|
# Устанавливаем bash completion если есть
|
||||||
echo ./usr/share/bash-completion/completions/alr
|
if [ -f "completions/alr.bash" ]; then
|
||||||
echo ./usr/share/zsh/site-functions/_alr
|
install -Dm644 "completions/alr.bash" "${pkgdir}/usr/share/bash-completion/completions/alr"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Устанавливаем zsh completion если есть
|
||||||
|
if [ -f "completions/_alr" ]; then
|
||||||
|
install -Dm644 "completions/_alr" "${pkgdir}/usr/share/zsh/site-functions/_alr"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Устанавливаем fish completion если есть
|
||||||
|
if [ -f "completions/alr.fish" ]; then
|
||||||
|
install -Dm644 "completions/alr.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/alr.fish"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user