From 69f5cd06d68ea6b0a2e598879b8d571076649ce4 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 20 Feb 2026 15:44:40 +0200 Subject: [PATCH] Update package version to 3.11.3 --- .gitignore | 3 +++ pkg.info | 26 ++++++++++++++++++++++---- source.sh | 11 +---------- 3 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d96df7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Ignore BPM archives and signatures +*.bpm +*.bpm.sig diff --git a/pkg.info b/pkg.info index 8b598f8..b8d4604 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,28 @@ name: feh description: Light-weight, configurable and versatile image viewer -version: 3.11.2 +version: 3.11.3 +revision: 1 url: https://feh.finalrewind.org/ license: custom +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["curl","file","hicolor-icon-theme","imlib2","libexif","libxinerama"] -optional_depends: ["imagemagick"] -make_depends: ["libxt","perl-test-command"] type: source +depends: + - curl + - file + - hicolor-icon-theme + - imlib2 + - libexif + - libxinerama +optional_depends: + - imagemagick +make_depends: + - bzip2 + - libxt + - perl-test-command +downloads: + - url: https://feh.finalrewind.org/feh-${BPM_PKG_VERSION}.tar.bz2 + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: f2cca3592a433922c0db7a9365fd63e5402c121d932a9327e279c71be6501063 diff --git a/source.sh b/source.sh index f3ba7eb..2e652ec 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://feh.finalrewind.org/feh-${BPM_PKG_VERSION}.tar.bz2" -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 @@ check() { package() { make PREFIX=/usr DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/feh/COPYING }