From 77741dc60edf22dcf76353dc81bb7b04aa274a89 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 23 Jan 2026 13:13:32 +0200 Subject: [PATCH] Update package version to 1.37.2 --- pkg.info | 14 +++++++++++--- source.sh | 15 +++------------ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/pkg.info b/pkg.info index 14d5384..d845318 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,17 @@ name: fakeroot description: A tool for simulating superuser privileges -version: 1.37.1.2 +version: 1.37.2 +revision: 1 url: https://tracker.debian.org/pkg/fakeroot license: GPL3 architecture: any -depends: ["glibc"] -make_depends: ["sharutils"] type: source +depends: + - glibc +make_depends: + - sharutils +downloads: + - url: http://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_${BPM_PKG_VERSION}.orig.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 0eea60fbe89771b88fcf415c8f2f0a6ccfe9edebbcf3ba5dc0212718d98884db diff --git a/source.sh b/source.sh index 6785d2d..d4fa8c0 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +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="http://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_${BPM_PKG_VERSION}.orig.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() { @@ -29,6 +19,7 @@ check() { # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install - mkdir -p "$BPM_OUTPUT"/usr/share/licenses/fakeroot - cp COPYING "$BPM_OUTPUT"/usr/share/licenses/fakeroot/COPYING + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/fakeroot/COPYING }