From 439dfeecc6c1dc5ff72d20c3b83d83ecfaf92441 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 28 Sep 2025 11:42:31 +0300 Subject: [PATCH] Update package version to 11.6.1 --- pkg.info | 20 ++++++++++++++++---- source.sh | 8 -------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index e37dde9..a664307 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,22 @@ name: npm description: Package Manager for JavaScript -version: 11.6.0 +version: 11.6.1 +revision: 1 url: https://www.npmjs.com/ license: Artistic-2.0 architecture: any -depends: ["node-gyp","nodejs","nodejs-nopt"] -optional_depends: ["git"] -make_depends: ["git"] type: source +depends: + - node-gyp + - nodejs + - nodejs-nopt +optional_depends: + - git +make_depends: + - git +downloads: + - url: https://github.com/npm/cli.git + type: git + extract_to_bpm_source: true + git_branch: v${BPM_PKG_VERSION} + checksum: c4ba7f40d1760c69ba05c162ad155821900d9181 diff --git a/source.sh b/source.sh index 8f8ffae..b7ffc1e 100644 --- a/source.sh +++ b/source.sh @@ -6,14 +6,6 @@ # Source script mostly copied from Arch Linux # -REPO="https://github.com/npm/cli.git" - -# 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() { - git clone --depth 1 --branch "v${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {