Compare commits
21 Commits
5259e4fc65
...
master
Author | SHA1 | Date | |
---|---|---|---|
d4554294af | |||
f90174c837 | |||
b213543e2e | |||
60adc17598 | |||
41e5f3db9c | |||
d6a5ae8038 | |||
52315f0c34 | |||
a91b84abfc | |||
152a58bdd4 | |||
2e10d10cef | |||
699bd0bb4f | |||
583dc0b46b | |||
b05b41823d | |||
7d17595f0b | |||
df103f11e8 | |||
98df57519f | |||
b72f4fffe6 | |||
81a9c0fb08 | |||
ac63f4d850 | |||
97513d9719 | |||
d26d740428 |
@@ -1,38 +1,26 @@
|
|||||||
name="alr-bin"
|
name="alr-bin"
|
||||||
version='0.0.17'
|
version='0.0.27'
|
||||||
release='1'
|
release='1'
|
||||||
desc="ALT Linux Repository tool - binary release"
|
desc="ALT Linux Repository - binary release"
|
||||||
homepage="https://gitea.plemya-x.ru/Plemya-x/alr"
|
homepage="https://gitea.plemya-x.ru/Plemya-x/ALR"
|
||||||
maintainer="ALR Updater Bot"
|
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
||||||
architectures=('x86_64')
|
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||||
|
architectures=('all')
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
provides=('alr')
|
provides=('alr')
|
||||||
conflicts=('alr' 'alr-git')
|
conflicts=('alr' 'alr-git')
|
||||||
|
|
||||||
sources=('https://gitea.plemya-x.ru/Plemya-x/ALR/releases/download/v0.0.17/alr-0.0.17-linux-x86_64.tar.gz')
|
sources=("https://gitea.plemya-x.ru/Plemya-x/ALR/releases/download/v${version}/alr-${version}-linux-x86_64.tar.gz")
|
||||||
checksums=('1af629d138e4b09e16e9b44c5497dd102bde2fcded54bf5c4efafdc3fde0eada')
|
checksums=('3da8a0aff2cde7c8ef865b4fd0af598398b5547cfde6e32e8f8bf15c4a8a8913')
|
||||||
|
|
||||||
backup=()
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
# Распаковываем архив
|
install-binary alr
|
||||||
cd "${srcdir}"
|
install-completion bash alr < ./completion/alr
|
||||||
|
install-completion zsh alr < ./completion/_alr
|
||||||
# Устанавливаем бинарный файл
|
|
||||||
install -Dm755 alr "${pkgdir}/usr/bin/alr"
|
|
||||||
|
|
||||||
# Устанавливаем bash completion если есть
|
|
||||||
if [ -f "completions/alr.bash" ]; then
|
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
files() {
|
||||||
|
echo ./usr/bin/alr
|
||||||
|
echo ./usr/share/bash-completion/completions/alr
|
||||||
|
echo ./usr/share/zsh/site-functions/_alr
|
||||||
|
}
|
Reference in New Issue
Block a user