From e27b08b3b1cbd2f525382fa446d583c82c0da456 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 8 May 2025 15:54:00 +0300 Subject: [PATCH] Update package version to 2.5.7 --- pkg.info | 6 ++---- source.sh | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pkg.info b/pkg.info index 1d0e945..31f82ee 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,8 @@ name: zstd description: Zstandard is a fast compression algorithm, providing high compression ratios -version: 1.5.5 -revision: 2 +version: 1.5.7 url: https://facebook.github.io/zstd/ license: BSD3-Clause,GPL2-only architecture: any -depends: ["glibc"] -make_depends: ["binutils","coreutils","gcc","glibc","gzip","make","xz-utils","zlib"] +depends: ["gcc","glibc","lz4","xz-utils","zlib"] type: source diff --git a/source.sh b/source.sh index fdf81ab..3f7a2b6 100644 --- a/source.sh +++ b/source.sh @@ -28,7 +28,7 @@ check() { # This function is used to move the compiled files into the output directory package() { make prefix=/usr DESTDIR="$BPM_OUTPUT" install - rm "$BPM_OUTPUT"/usr/lib/libzstd.a - mkdir -p "$BPM_OUTPUT"/usr/share/licenses/zstd - cp {LICENSE,COPYING} "$BPM_OUTPUT"/usr/share/licenses/zstd/ + + # Install package license + install -Dm644 {LICENSE,COPYING} -t "$BPM_OUTPUT"/usr/share/licenses/zstd/ }