From 884b4a201872813902c0a1c010f7eb5d6b93bf1d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 8 Feb 2026 11:59:46 +0200 Subject: [PATCH] Update package version to 0.5.13.1 --- pkg.info | 17 ++++++++++++++--- source.sh | 10 +++------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/pkg.info b/pkg.info index ccc3139..db7323b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,20 @@ name: dash description: POSIX-compliant implementation of /bin/sh that aims to be as small as possible -version: 0.5.13 +version: 0.5.13.1 +revision: 1 url: http://gondor.apana.org.au/~herbert/dash/ license: BSD-3-Clause +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["glibc","libedit"] -provides: ["sh"] type: source +depends: + - glibc + - libedit +provides: + - sh +downloads: + - url: https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 62a551ed06c31ad09933be0a20478832640d5cc3ce430d0fc7c52a1097129df1 diff --git a/source.sh b/source.sh index 2226228..98bc1b7 100644 --- a/source.sh +++ b/source.sh @@ -2,20 +2,16 @@ # 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://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${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" + autoreconf -fi } # The build function is executed in the source directory # This function is used to compile the source code build() { - autoreconf -fiv ./configure --prefix=/usr --exec-prefix="" --with-libedit make V=1 }