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
+4 -1
View File
@@ -1,7 +1,10 @@
name: bpm
description: A simple Linux package manager
version: 0.3.0
version: 0.3.1
url: https://gitlab.com/bubble-package-manager/bpm
license: MIT
architecture: any
depends: fakeroot
make_depends: golang,git
keep: etc/bpm.conf
type: source
+4
View File
@@ -0,0 +1,4 @@
compilation_env: []
silent_compilation: false
compilation_dir: "/var/tmp/"
binary_output_dir: "/var/lib/bpm/compiled/"
+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
}