Update package version to 8.0

This commit is contained in:
2026-04-20 12:19:24 +03:00
parent 89b2d3368f
commit 7f26b83f5d
2 changed files with 24 additions and 12 deletions
+15 -10
View File
@@ -1,6 +1,6 @@
name: stormfetch
description: A simple linux fetch program written in go and bash
version: "7.4"
version: "8.0"
revision: 1
url: https://github.com/EnumeratedDev/stormfetch
license: MIT
@@ -11,19 +11,24 @@ type: source
keep:
- etc/stormfetch/config.yml
depends:
- libglvnd
- libxcursor
- libxi
- libxinerama
- libxrandr
- sh
- bash
make_depends:
- git
- golang
- libx11
- make
- libxcursor
- libxrandr
- libxinerama
- libxi
- libglvnd
downloads:
- url: https://github.com/EnumeratedDev/stormfetch/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 32466846ec7ccad26460eed5823780a25c677a40eddd94e55c72e1c01f77703f
checksum: c379f0e86a36044580e912e8dc65b8e0a7b910c3455c295196f501e089688b21
split_packages:
- name: stormfetch
optional_depends:
- stormfetch-monitor-detection:For detecting monitor resolution and refresh rate
- name: stormfetch-monitor-detection
depends:
- stormfetch
+9 -2
View File
@@ -11,9 +11,16 @@ 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
package_stormfetch() {
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install-stormfetch
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install-config
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/stormfetch/LICENSE
}
package_stormfetch-monitor-detection() {
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install-stormfetch-monitor-detection
install -d "$BPM_OUTPUT"/usr/share/licenses
ln -sf stormfetch "$BPM_OUTPUT"/usr/share/licenses/stormfetch-monitor-detection
}