Update package version to 0.6.1
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: bpm
|
name: bpm
|
||||||
description: The official package manager for Tide Linux
|
description: The official package manager for Tide Linux
|
||||||
version: 0.6.0
|
version: 0.6.1
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://github.com/EnumeratedDev/bpm
|
url: https://github.com/EnumeratedDev/bpm
|
||||||
license: MIT
|
license: MIT
|
||||||
@@ -23,4 +23,4 @@ downloads:
|
|||||||
- url: https://github.com/EnumeratedDev/bpm/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/EnumeratedDev/bpm/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: e66f70cb9f4a34ec9aba9092f0b0de006765b71aef0cb30922a5146042d6c7af
|
checksum: d0bdbeb029e7df27e74b84ba584314b35462b735881c27c60c403b0d6a160710
|
||||||
|
|||||||
@@ -5,16 +5,17 @@
|
|||||||
# 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() {
|
||||||
make
|
export GOFLAGS="-modcacherw"
|
||||||
|
make VERSION="$BPM_PKG_VERSION"
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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() {
|
||||||
make install DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc
|
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install
|
||||||
|
|
||||||
# Install configuration files
|
# Install configuration files
|
||||||
make install-config DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc
|
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install-config
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/bpm/LICENSE
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/bpm/LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user