Add license

This commit is contained in:
2025-05-08 21:33:20 +03:00
parent d3267bde8e
commit 19d0c26609
3 changed files with 12 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Gitea repository
REPO="EnumDev/stormfetch"
# 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)
echo "$VERSION"
+1
View File
@@ -1,6 +1,7 @@
name: stormfetch
description: A simple linux fetch program written in go and bash
version: 6.1
revision: 2
url: https://git.enumerated.dev/EnumDev/stormfetch
license: MIT
architecture: any
+2
View File
@@ -21,4 +21,6 @@ build() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr SYSCONFDIR=/etc install
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/stormfetch/LICENSE
}