Updated to 0.3.1

This commit is contained in:
CapCreeperGR
2024-07-08 12:02:07 +00:00
parent 5a54478bec
commit 039c6c9934
3 changed files with 11 additions and 4 deletions
+3 -3
View File
@@ -7,9 +7,7 @@ REPO="https://gitlab.com/bubble-package-manager/bpm.git"
# 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() {
git clone "$REPO" "$BPM_SOURCE"
cd "$BPM_SOURCE"
git checkout tags/"$BPM_PKG_VERSION"
git clone --depth 1 --branch "${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE"
}
# The build function is executed in the source directory
@@ -23,4 +21,6 @@ build() {
package() {
mkdir -p "$BPM_OUTPUT"/usr/bin/
cp build/bpm "$BPM_OUTPUT"/usr/bin/bpm
mkdir -p "$BPM_OUTPUT"/etc/
cp ../bpm.conf "$BPM_OUTPUT"/etc/bpm.conf
}