Updated to 0.3.2
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: bpm
|
name: bpm
|
||||||
description: A simple Linux package manager
|
description: A simple Linux package manager
|
||||||
version: 0.3.1
|
version: 0.3.2
|
||||||
url: https://gitlab.com/bubble-package-manager/bpm
|
url: https://gitlab.com/bubble-package-manager/bpm
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
compilation_env: []
|
|
||||||
silent_compilation: false
|
|
||||||
compilation_dir: "/var/tmp/"
|
|
||||||
binary_output_dir: "/var/lib/bpm/compiled/"
|
|
||||||
@@ -13,14 +13,11 @@ prepare() {
|
|||||||
# 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() {
|
||||||
go build -o ./build/bpm capcreepergr.me/bpm
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# 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() {
|
||||||
mkdir -p "$BPM_OUTPUT"/usr/bin/
|
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install
|
||||||
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