Update package version to 0.5.0

This commit is contained in:
2025-08-23 20:20:41 +03:00
parent cb4b77bb5e
commit 3e0dd27e12
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -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)
+4 -4
View File
@@ -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
+6 -2
View File
@@ -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
}