From 9849b9d8d850457358c62438293b3cfbb35af3b9 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 12 May 2025 17:03:21 +0300 Subject: [PATCH] Fix dependencies and add license --- pkg.info | 6 +++--- source.sh | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 357f07c..00779d8 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,10 @@ name: tar description: GNU tar archive creation and mofication tools version: 1.35 -revision: 2 +revision: 3 url: https://www.gnu.org/software/tar/ license: GPL3 architecture: any -depends: ["acl","attr","bzip2","glibc","gzip","xz-utils"] -make_depends: ["acl","attr","bash","binutils","bison","coreutils","gcc","gettext","glibc","grep","inetutils","make","sed","texinfo"] +depends: ["acl","glibc"] +make_depends: ["attr"] type: source diff --git a/source.sh b/source.sh index 37c24bc..0c9a901 100644 --- a/source.sh +++ b/source.sh @@ -30,4 +30,7 @@ check() { package() { make DESTDIR="$BPM_OUTPUT" install make -C doc install-html docdir=/usr/share/doc/tar DESTDIR="$BPM_OUTPUT" + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/tar/COPYING }