-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathack.yaml
59 lines (49 loc) · 1.22 KB
/
ack.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
58
59
package:
name: ack
version: 3.8.1
epoch: 0
description: A Perl-powered replacement for grep
copyright:
- license: Artistic-2.0
dependencies:
runtime:
- perl
- perl-file-next
environment:
contents:
packages:
- automake
- busybox
- perl-dev
- perl-file-next
pipeline:
- uses: fetch
with:
expected-sha256: 1c03ab46f4922a0bd2462f4cf7eeb3cb4b4e6d43cebd3cfcf3a2e132319eb88e
uri: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/ack-v${{package.version}}.tar.gz
- runs: PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- uses: autoconf/make
- uses: autoconf/make-install
- runs: find "${{targets.destdir}}" \( -name perllocal.pod -o -name .packlist \) -delete
- uses: strip
subpackages:
- name: ack-doc
pipeline:
- uses: split/manpages
description: ack manpages
test:
pipeline:
- uses: test/docs
update:
enabled: true
release-monitor:
identifier: 15
test:
pipeline:
- name: Verify ack installation
runs: |
ack --version || exit 1
ack --help
- name: Basic search test
runs: |
echo 'foo\nfoo bar\nbaz' | ack --noenv --nocolor bar - | grep -q 'foo bar' || exit 1