From 2bd2b829adb93fd33d193a16274b357affad2f34 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 2 Nov 2025 09:34:41 +0200 Subject: [PATCH] Remove libxml2 dependency and disable rpath --- pkg.info | 3 +-- source.sh | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 2d22037..57add4a 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: libarchive description: Multi-format archive and compression library version: 3.8.2 -revision: 1 +revision: 2 url: https://libarchive.org/ license: BSD architecture: any @@ -9,7 +9,6 @@ type: source depends: - acl - bzip2 - - libxml2 - lz4 - openssl - xz-utils diff --git a/source.sh b/source.sh index 674af36..84bec0c 100644 --- a/source.sh +++ b/source.sh @@ -5,7 +5,7 @@ # The build function is executed in the source directory # This function is used to compile the source code build() { - ./configure --prefix=/usr --disable-static + ./configure --prefix=/usr --disable-static --without-xml2 --disable-rpath make } @@ -20,5 +20,6 @@ check() { package() { make DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libarchive/COPYING }