Updated to 0.3.2

This commit is contained in:
CapCreeperGR
2024-07-12 16:08:50 +00:00
parent 039c6c9934
commit de7babb1d7
3 changed files with 3 additions and 10 deletions
+2 -5
View File
@@ -13,14 +13,11 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
go build -o ./build/bpm capcreepergr.me/bpm
make
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
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
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install
}