forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathksh.yaml
43 lines (37 loc) · 809 Bytes
/
ksh.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
package:
name: ksh
version: 1.0.10
epoch: 0
description: "KornShell 93u+m"
copyright:
- license: EPL-2.0
environment:
contents:
packages:
- build-base
- busybox
pipeline:
- uses: git-checkout
with:
repository: https://github.com/ksh93/ksh
tag: v${{package.version}}
expected-commit: f0999ab76dd2e0d977298348ec5c4535a360710d
- runs: |
bin/package make
bin/package install ${{targets.destdir}}
- uses: strip
update:
enabled: true
github:
identifier: ksh93/ksh
strip-prefix: v
use-tag: true
test:
environment:
contents:
packages:
- build-base
pipeline:
- runs: |
version=$(/bin/ksh -c "eval 'echo "\${.sh.version}"' 2>/dev/null")
echo "$version" | grep "${{package.version}}"