Update package version to 1.4.4
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="aristocratos/btop"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: btop
|
name: btop
|
||||||
description: Resource monitor that shows usage and stats for processor, memory, disks, network and processes
|
description: Resource monitor that shows usage and stats for processor, memory, disks, network and processes
|
||||||
version: 1.3.2
|
version: 1.4.4
|
||||||
revision: 2
|
|
||||||
url: https://github.com/aristocratos/btop
|
url: https://github.com/aristocratos/btop
|
||||||
license: Apache2.0
|
license: Apache2.0
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -23,5 +23,6 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr install
|
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/btop/LICENSE
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/btop/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user