From b91b76f4ce9716b3356f88a50be18ace6b1f2a41 Mon Sep 17 00:00:00 2001 From: Batuhan Apaydin Date: Thu, 29 Jun 2023 15:56:56 +0300 Subject: [PATCH] add swaks Signed-off-by: Batuhan Apaydin Co-authored-by: Furkan Turkal Signed-off-by: Batuhan Apaydin --- packages.txt | 1 + swaks.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 swaks.yaml diff --git a/packages.txt b/packages.txt index 855948a68f9..1200d33f7e8 100644 --- a/packages.txt +++ b/packages.txt @@ -827,6 +827,7 @@ fuse-overlayfs libxv fuse-overlayfs-snapshotter sqlmap +swaks orc kots upx diff --git a/swaks.yaml b/swaks.yaml new file mode 100644 index 00000000000..15c9295b19f --- /dev/null +++ b/swaks.yaml @@ -0,0 +1,40 @@ +package: + name: swaks + version: '20201014.0' + epoch: 0 + description: "File archiver with a high compression ratio" + copyright: + - license: LGPL-2.0-only + +environment: + contents: + packages: + - busybox + - ca-certificates-bundle + - build-base + +pipeline: + - uses: fetch + with: + uri: https://www.jetmore.org/john/code/swaks/files/swaks-${{package.version}}.tar.gz + expected-sha512: 8a4e8dc810a9c5943afdbc4db7130e110c42e211d6927ce1cdbab6f81fa49c31490e6c3668ec3cea79580c07b281ce30901b3b4a71325951167158cc9d70d9cc + + - runs: | + install -Dm755 ${{package.name}} "${{targets.destdir}}"/usr/bin/${{package.name}} + install -Dm644 -t "${{targets.destdir}}"/usr/share/doc/${{package.name}} doc/* + + - uses: strip + +subpackages: + - name: "${{package.name}}-doc" + description: "${{package.name}} documentation" + pipeline: + - uses: split/manpages + - runs: | + mkdir -p "${{targets.subpkgdir}}"/usr/share + mv "${{targets.destdir}}"/usr/share/doc/${{package.name}} "${{targets.subpkgdir}}"/usr/share + +update: + enabled: true + release-monitor: + identifier: 8862