Add license
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Gitea repository
|
||||
REPO="bubble-package-manager/bpm-utils"
|
||||
|
||||
# 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,6 +1,7 @@
|
||||
name: bpm-utils
|
||||
description: Package utilities for the Bubble Package Manager
|
||||
version: 6.0.0
|
||||
revision: 2
|
||||
url: https://gitlab.com/bubble-package-manager/bpm-utils
|
||||
license: MIT
|
||||
architecture: any
|
||||
|
||||
@@ -16,11 +16,12 @@ prepare() {
|
||||
package() {
|
||||
install -d "$BPM_OUTPUT"/etc/bpm-utils/
|
||||
install -d "$BPM_OUTPUT"/usr/bin/
|
||||
install -d "$BPM_OUTPUT"/usr/share/licenses/bpm-utils
|
||||
install -Dm755 bpm-package "$BPM_OUTPUT"/usr/bin/bpm-package
|
||||
install -Dm755 bpm-convert "$BPM_OUTPUT"/usr/bin/bpm-convert
|
||||
install -Dm755 bpm-setup "$BPM_OUTPUT"/usr/bin/bpm-setup
|
||||
install -Dm755 create-repository-data "$BPM_OUTPUT"/usr/bin/create-repository-data
|
||||
install -Dm755 source.default "$BPM_OUTPUT"/etc/bpm-utils/source.default
|
||||
install -Dm755 LICENSE "$BPM_OUTPUT"/usr/share/licenses/bpm-utils
|
||||
|
||||
# Install package license
|
||||
install -Dm755 LICENSE "$BPM_OUTPUT"/usr/share/licenses/bpm-utils/LICENSE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user