-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathbat.yaml
46 lines (39 loc) · 888 Bytes
/
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
package:
name: bat
version: 0.24.0
epoch: 0
description: "A cat(1) clone with wings"
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- libgit2-dev
- rust
- zlib-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/sharkdp/bat
tag: v${{package.version}}
expected-commit: fc9546854f5a7b38823f4990453c6cde386bfd3b
- runs: |
cargo fetch
cargo 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