Updated to 0.3.1
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
name: bpm
|
name: bpm
|
||||||
description: A simple Linux package manager
|
description: A simple Linux package manager
|
||||||
version: 0.3.0
|
version: 0.3.1
|
||||||
url: https://gitlab.com/bubble-package-manager/bpm
|
url: https://gitlab.com/bubble-package-manager/bpm
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
depends: fakeroot
|
||||||
|
make_depends: golang,git
|
||||||
|
keep: etc/bpm.conf
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
compilation_env: []
|
||||||
|
silent_compilation: false
|
||||||
|
compilation_dir: "/var/tmp/"
|
||||||
|
binary_output_dir: "/var/lib/bpm/compiled/"
|
||||||
@@ -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
|
# 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
|
# This function is used for downloading files and putting them into the correct location
|
||||||
prepare() {
|
prepare() {
|
||||||
git clone "$REPO" "$BPM_SOURCE"
|
git clone --depth 1 --branch "${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE"
|
||||||
cd "$BPM_SOURCE"
|
|
||||||
git checkout tags/"$BPM_PKG_VERSION"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
@@ -23,4 +21,6 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
mkdir -p "$BPM_OUTPUT"/usr/bin/
|
mkdir -p "$BPM_OUTPUT"/usr/bin/
|
||||||
cp build/bpm "$BPM_OUTPUT"/usr/bin/bpm
|
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