forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bat.yaml
57 lines (48 loc) · 1.05 KB
/
bat.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
52
53
54
55
56
57
package:
name: bat
version: 0.24.0
epoch: 4
description: "A cat(1) clone with wings"
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- cargo-auditable
- libgit2-dev
- openssf-compiler-options
- rust
- zlib-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/sharkdp/bat
tag: v${{package.version}}
expected-commit: fc9546854f5a7b38823f4990453c6cde386bfd3b
- uses: rust/cargobump
- runs: |
cargo fetch
cargo auditable build --frozen --release
- runs: |
install -Dm755 target/release/bat "${{targets.destdir}}"/usr/bin/bat
- uses: strip
subpackages:
- name: ${{package.name}}-doc
pipeline:
- uses: split/manpages
- uses: split/infodir
description: ${{package.name}} manpages
update:
enabled: true
github:
identifier: sharkdp/bat
strip-prefix: v
test:
pipeline:
# AUTOGENERATED
- runs: |
bat --version
bat --help