From 3e0dd27e12f1e77173a8a225d7c3707abd43eac4 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 23 Aug 2025 20:20:41 +0300 Subject: [PATCH] Update package version to 0.5.0 --- check-version.sh | 2 +- pkg.info | 8 ++++---- source.sh | 8 ++++++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/check-version.sh b/check-version.sh index e84b3ef..a5fce21 100644 --- a/check-version.sh +++ b/check-version.sh @@ -1,7 +1,7 @@ #!/bin/bash # Gitea repository -REPO="bubble-package-manager/bpm" +REPO="EnumDev/bpm" # Get version from tag name using Gitea Rest API VERSION=$(curl -s -L https://git.enumerated.dev/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name) diff --git a/pkg.info b/pkg.info index c062410..a138c80 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,11 @@ name: bpm description: A simple Linux package manager -version: 0.4.1 -revision: 2 -url: https://gitlab.com/bubble-package-manager/bpm +version: 0.5.0 +url: https://git.enumerated.dev/EnumDev/bpm license: MIT architecture: any +depends: ["bash"] make_depends: ["golang","git"] optional_depends: ["fakeroot"] -keep: ["etc/bpm.conf"] +keep: ["etc/bpm.conf","etc/bpm-compilation.conf"] type: source diff --git a/source.sh b/source.sh index 174343a..97602ba 100644 --- a/source.sh +++ b/source.sh @@ -2,7 +2,7 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -REPO="https://gitlab.com/bubble-package-manager/bpm.git" +REPO="https://git.enumerated.dev/EnumDev/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 @@ -19,7 +19,11 @@ build() { # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install + make install DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc + # Install configuration files + make install-config DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc + + # Install package license install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/bpm/LICENSE }