-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathfindutils.yaml
62 lines (51 loc) · 1.45 KB
/
findutils.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
60
61
62
package:
name: findutils
version: 4.9.0
epoch: 3
description: "GNU find utilities"
copyright:
- license: GPL-3.0-or-later
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- wolfi-base
pipeline:
- uses: fetch
with:
uri: https://ftp.gnu.org/gnu/findutils/findutils-${{package.version}}.tar.xz
expected-sha256: a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe
- runs: |
env FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix=/usr \
--libdir=/lib \
--libexecdir=/usr/libexec \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
subpackages:
- name: "findutils-doc"
description: "documentation for GNU coreutils"
pipeline:
- uses: split/manpages
- uses: split/infodir
- name: "locate"
description: "locate and updatedb from findutils"
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/libexec
mkdir -p "${{targets.subpkgdir}}"/usr/bin
mv "${{targets.destdir}}"/usr/libexec/frcode "${{targets.subpkgdir}}"/usr/libexec/
for i in locate updatedb; do
mv "${{targets.destdir}}"/usr/bin/$i "${{targets.subpkgdir}}"/usr/bin/
done
update:
enabled: true
release-monitor:
identifier: 812