From 26f1f938958f4947679c7a913bff1b252d7ad8cb Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 16 Oct 2025 12:56:39 +0300 Subject: [PATCH] Update package version to 2.51.1 --- pkg.info | 28 ++++++++++++++++++++++++---- source.sh | 11 ----------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/pkg.info b/pkg.info index cca5efb..9454173 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,30 @@ name: git description: A free and open source distributed version control system -version: 2.51.0 +version: 2.51.1 +revision: 1 url: https://git-scm.com/ license: GPL2-only architecture: any -depends: ["expat","pcre2","zlib"] -optional_depends: ["curl","libsecret","openssh","python3"] -make_depends: ["asciidoc","gettext","perl","pkgconf","openssh","python3","xmlto"] type: source +depends: + - expat + - pcre2 + - zlib +optional_depends: + - curl + - libsecret + - openssh + - python3 +make_depends: + - asciidoc + - gettext + - perl + - pkgconf + - openssh + - python3 + - xmlto +downloads: + - url: https://www.kernel.org/pub/software/scm/git/git-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: a83fd9ffaed7eee679ed92ceb06f75b4615ebf66d3ac4fbdbfbc9567dc533f4a diff --git a/source.sh b/source.sh index c7ab39d..e15897f 100644 --- a/source.sh +++ b/source.sh @@ -2,17 +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://www.kernel.org/pub/software/scm/git/git-${BPM_PKG_VERSION}.tar.xz" -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() {