From e8acf1ba1868a488b1310662c48680e42b9a67aa Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 13 Sep 2025 21:45:55 +0300 Subject: [PATCH] Rebuild with icu 77.1 --- check-version.sh | 2 +- pkg.info | 3 ++- source.sh | 15 ++++----------- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/check-version.sh b/check-version.sh index e33c1bd..5ee774a 100644 --- a/check-version.sh +++ b/check-version.sh @@ -4,7 +4,7 @@ REPO="https://git.sr.ht/~exec64/imv" # Get tag name using 'git ls-remote' -TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3) +TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | grep -v '-' | tail -1 | cut -d'/' -f3) # Trim 'v' character in TAG_NAME variable VERSION=$(echo "$TAG_NAME" | tr -d 'v') diff --git a/pkg.info b/pkg.info index 2b4f79e..6addfe7 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,10 @@ name: imv description: X11 and Wayland image viewer intended for use with tiling window managers version: 4.5.0 +revision: 2 url: https://sr.ht/~exec64/imv/ license: MIT architecture: any -depends: ["glu","libjxl","librsvg","libxkbcommon","pango"] +depends: ["glu","icu","libjxl","librsvg","libxkbcommon","pango"] make_depends: ["asciidoc","cmake","cmocka","meson"] type: source diff --git a/source.sh b/source.sh index 0cdd7f7..ee948ab 100644 --- a/source.sh +++ b/source.sh @@ -19,27 +19,20 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - mkdir build - cd build - - meson setup --prefix=/usr - meson compile + meson setup --prefix=/usr build + meson compile -C build } # The check function is executed in the source directory # This function is used to run tests to verify the package has been compiled correctly check() { - cd build - - meson test + meson test -C build } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - cd build - - meson install --destdir="$BPM_OUTPUT" + meson install -C build --destdir="$BPM_OUTPUT" # Install package license install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/imv/LICENSE