From fddf62a1cc617dfdc9f2ee3473553351e0cb5635 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 11 Oct 2025 13:29:27 +0300 Subject: [PATCH] Update package version to 3.00 --- pkg.info | 22 +++++++++++++++++++--- source.sh | 8 +------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/pkg.info b/pkg.info index 1eb4402..8300c7d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,25 @@ name: nasm description: portable x86 architecture assembler -version: 2.16.03 +version: "3.00" +revision: 1 url: https://www.nasm.us/ license: BSD architecture: any -depends: ["glibc"] -make_depends: ["adobe-source-code-pro-fonts","adobe-source-sans-fonts","asciidoc","diffutils","fontconfig","ghostscript","perl-font-ttf","perl-sort-versions","xmlto"] type: source +depends: + - glibc +make_depends: + - adobe-source-code-pro-fonts + - adobe-source-sans-fonts + - asciidoc + - diffutils + - fontconfig + - ghostscript + - perl-font-ttf + - perl-sort-versions + - xmlto +downloads: + - url: https://github.com/netwide-assembler/nasm/archive/refs/tags/nasm-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: e37cb8ef28d5179eb46658c93e3028f40e283f1e88781ef750d42533e9b9f437 diff --git a/source.sh b/source.sh index 146925f..2d2e3f2 100644 --- a/source.sh +++ b/source.sh @@ -2,15 +2,9 @@ # 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://github.com/netwide-assembler/nasm/archive/refs/tags/nasm-${BPM_PKG_VERSION}.tar.gz" -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 +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cd "$BPM_SOURCE" NOCONFIGURE=1 ./autogen.sh }