From dacd4d55955b1b7f904fd5ad963394b719a95fa3 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 26 Feb 2026 14:09:21 +0200 Subject: [PATCH] Rebuild without tcl --- pkg.info | 20 +++++++++++++++++--- source.sh | 12 +----------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/pkg.info b/pkg.info index 377835a..7fd40f9 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,24 @@ name: newt description: A library for text mode user interfaces version: 0.52.25 +revision: 2 url: https://pagure.io/newt license: LGPL2-only +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["glibc","gpm","popt","slang"] -optional_depends: ["python3","tcl"] -make_depends: ["python3","tcl"] type: source +depends: + - glibc + - gpm + - popt + - slang +optional_depends: + - python3 +make_depends: + - python3 +downloads: + - url: https://releases.pagure.org/newt/newt-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82 diff --git a/source.sh b/source.sh index 3e9f0d2..3cf1dbc 100644 --- a/source.sh +++ b/source.sh @@ -2,20 +2,10 @@ # 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://releases.pagure.org/newt/newt-${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 -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() { - ./configure --prefix=/usr --with-gpm-support + ./configure --prefix=/usr --with-gpm-support --without-tcl make }