pantry/projects/debian.org/bash-completion/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

22 lines
610 B
YAML

distributable:
url: http://deb.debian.org/debian/pool/main/b/bash-completion/bash-completion_{{version.raw}}.orig.tar.gz
strip-components: 1
versions:
url: https://packages.debian.org/source/bullseye/bash-completion
match: /bash-completion_\d+\.\d+\.orig\.tar\.gz/
strip:
- /^bash-completion_/
- /\.orig\.tar\.gz/
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/libtool: '*'
script:
- autoreconf -i
- ./configure --prefix="{{prefix}}"
- make
- make install
test:
script:
- bash -c ". {{prefix}}/etc/profile.d/bash_completion.sh"