diff --git a/pkg.info b/pkg.info index d708d82..f3a7418 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,30 @@ name: podman description: A tool for managing OCI containers and pods -version: 5.6.1 -revision: 2 +version: 5.6.2 +revision: 1 url: https://podman.io/ license: Apache-2.0 architecture: x86_64 -depends: ["conmon", "containers-common", "containers-image", "containers-storage", "gcc-libs", "glibc", "gpgme", "libseccomp", "runc", "man-db", "netavark", "shadow"] -make_depends: ["btrfs-progs", "golang", "udev"] type: source +depends: + - conmon + - containers-common + - containers-image + - containers-storage + - gcc-libs + - glibc + - gpgme + - libseccomp + - runc + - man-db + - netavark + - shadow +make_depends: + - btrfs-progs + - golang + - udev +downloads: + - url: https://github.com/containers/podman/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: c6de8f347ee93e4626d7c82e3adcb1b34e64175b5ca9959e790e52a0b4bbf2a1 diff --git a/source.sh b/source.sh index d84ac38..f6cfd62 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/containers/podman/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() { @@ -29,5 +19,6 @@ package() { # Install ESVM service install -Dm644 "$BPM_WORKDIR"/podman.esv "$BPM_OUTPUT"/etc/esvm/services/podman.esv + # Install package license install -Dm644 LICENSE "$BPM_OUTPUT"/usr/share/licenses/podman/LICENSE }