mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/megatools: add bash completion subpackage
Also take over maintainership.
This commit is contained in:
parent
4ebf31dbab
commit
f3da2ff6e2
@ -1,10 +1,10 @@
|
||||
# Contributor: Jonas Marklen <txc@txc.se>
|
||||
# Contributor: H <agathos5@gmail.com>
|
||||
# Maintainer:
|
||||
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
||||
pkgname=megatools
|
||||
pkgver=1.11.1.20230212
|
||||
pkgrel=0
|
||||
pkgdesc="collection of programs for accessing Mega.nz service"
|
||||
pkgrel=1
|
||||
pkgdesc="Collection of programs for accessing Mega.nz service"
|
||||
url="https://megatools.megous.com"
|
||||
arch="all"
|
||||
license="GPL-2.0-only"
|
||||
@ -17,7 +17,7 @@ makedepends="
|
||||
meson
|
||||
openssl-dev
|
||||
"
|
||||
subpackages="$pkgname-doc"
|
||||
subpackages="$pkgname-doc $pkgname-bash-completion"
|
||||
source="https://megatools.megous.com/builds/megatools-$pkgver.tar.gz"
|
||||
|
||||
build() {
|
||||
@ -33,6 +33,13 @@ check() {
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
|
||||
install -Dm644 contrib/bash-completion/megatools \
|
||||
"$pkgdir"/usr/share/bash-completion/completions/megatools
|
||||
|
||||
for bin in megacopy megadf megadl megaget megals megamkdir megaput megareg megarm; do
|
||||
ln -s megatools "$pkgdir"/usr/share/bash-completion/completions/$bin
|
||||
done
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user