Skip to main content
Topic: aria2 small improvement (Read 152 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

aria2 small improvement

Hi !

Take a look at the aria2 PKGBUILD

I think we could simplify the package() function by removing this part:
Code: [Select]
  # add bash completion
  install -d "$pkgdir"/usr/share/bash-completion/completions
  install -m644 "$pkgdir"/usr/share/doc/aria2/bash_completion/aria2c \
    "$pkgdir"/usr/share/bash-completion/completions

and by adding this flag in the build() function:
Code: [Select]
  ./configure \
    --with-bashcompletiondir=/usr/share/bash-completion/completions

 ::)