-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbash-completion.yaml
51 lines (47 loc) · 1.26 KB
/
bash-completion.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package:
name: bash-completion
version: 2.16.0
epoch: 0
description: Programmable completion functions for bash
copyright:
- license: GPL-2.0-or-later
dependencies:
runtime:
- bash
scriptlets:
post-install: |
#!/bin/bash
source /etc/bash/bash_completion.sh
environment:
contents:
packages:
- autoconf
- automake
- bash
- build-base
- busybox
- make
- wolfi-baselayout
pipeline:
- uses: git-checkout
with:
repository: https://github.com/scop/bash-completion
tag: ${{ package.version }}
expected-commit: 79d225bad8939a3833314b5af93509131c03f2f8
- runs: |
autoreconf -i
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
make DESTDIR=${{targets.destdir}} install
mkdir -p ${{targets.destdir}}/etc/bash
mv ${{targets.destdir}}/etc/profile.d/bash_completion.sh ${{targets.destdir}}/etc/bash/
rmdir -p ${{targets.destdir}}/etc/profile.d/ || true
mkdir -p ${{targets.destdir}}/usr/lib
mv ${{targets.destdir}}/usr/share/pkgconfig ${{targets.destdir}}/usr/lib/pkgconfig
update:
enabled: true
github:
identifier: scop/bash-completion