Updated to 0.3.1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user