Update package version to 1.37.2
This commit is contained in:
@@ -1,9 +1,17 @@
|
|||||||
name: fakeroot
|
name: fakeroot
|
||||||
description: A tool for simulating superuser privileges
|
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
|
url: https://tracker.debian.org/pkg/fakeroot
|
||||||
license: GPL3
|
license: GPL3
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc"]
|
|
||||||
make_depends: ["sharutils"]
|
|
||||||
type: source
|
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
|
||||||
|
|||||||
@@ -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 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
|
# 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
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
@@ -29,6 +19,7 @@ check() {
|
|||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user