From de7babb1d74b05ca13ff9b30bef7870a6c2eb6ca Mon Sep 17 00:00:00 2001 From: CapCreeperGR Date: Fri, 12 Jul 2024 16:08:50 +0000 Subject: [PATCH] Updated to 0.3.2 --- pkg.info | 2 +- source-files/bpm.conf | 4 ---- source.sh | 7 ++----- 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 source-files/bpm.conf diff --git a/pkg.info b/pkg.info index f1a8d41..d4f8801 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: bpm description: A simple Linux package manager -version: 0.3.1 +version: 0.3.2 url: https://gitlab.com/bubble-package-manager/bpm license: MIT architecture: any diff --git a/source-files/bpm.conf b/source-files/bpm.conf deleted file mode 100644 index 2fb22ba..0000000 --- a/source-files/bpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -compilation_env: [] -silent_compilation: false -compilation_dir: "/var/tmp/" -binary_output_dir: "/var/lib/bpm/compiled/" diff --git a/source.sh b/source.sh index 9ffcaed..b12dd4f 100644 --- a/source.sh +++ b/source.sh @@ -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 }