From 444f5c79ef83ec8360a87bfa8473d6eb307f1af9 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 10 Jan 2026 14:15:45 +0200 Subject: [PATCH] Update package version to 2.18 --- pkg.info | 12 ++++++++++-- source.sh | 11 +---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index 9b1f5ea..80b2a21 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,16 @@ name: lcms2 description: Open-source small-footprint color management engine -version: 2.17 +version: "2.18" +revision: 1 url: https://www.littlecms.com/ license: MIT architecture: any -depends: ["libjpeg-turbo","libtiff"] type: source +depends: + - libjpeg-turbo + - libtiff +downloads: + - url: https://github.com/mm2/Little-CMS/releases/download/lcms${BPM_PKG_VERSION##.*}/lcms2-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: ee67be3566f459362c1ee094fde2c159d33fa0390aa4ed5f5af676f9e5004347 diff --git a/source.sh b/source.sh index be51e61..f3e76de 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/mm2/Little-CMS/releases/download/lcms${BPM_PKG_VERSION##.*}/lcms2-${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() { @@ -30,5 +20,6 @@ check() { package() { make DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/lcms2/LICENSE }