Update package version to 140.0.2p1 and added icon files

This commit is contained in:
2025-07-14 18:45:42 +03:00
parent 11e4792865
commit 7013b455dc
3 changed files with 24 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
# Gitlab repository
REPO="librewolf-community/browser/source"
# Replace slash with URL encoded representation
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
# Get tag name using Gitlab Rest API
TAG_NAME=$(curl -s -L https://gitlab.com/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name')
# Trim '-gitlab' suffix
TAG_NAME=$(echo "$TAG_NAME" | sed 's/-gitlab//g')
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | tr '-' 'p')
echo "$VERSION"
+1 -1
View File
@@ -1,6 +1,6 @@
name: librewolf name: librewolf
description: A custom version of Firefox, focused on privacy, security and freedom description: A custom version of Firefox, focused on privacy, security and freedom
version: 139.0.4p1 version: 140.0.2p1
url: https://librewolf.net/ url: https://librewolf.net/
license: MPL2 license: MPL2
architecture: any architecture: any
+5
View File
@@ -37,6 +37,11 @@ package() {
# Install distribution file # Install distribution file
install -Dm644 ../distribution.ini "$BPM_OUTPUT"/usr/lib/librewolf/distribution/distribution.ini install -Dm644 ../distribution.ini "$BPM_OUTPUT"/usr/lib/librewolf/distribution/distribution.ini
# Install icon files
for size in 16 32 48 64 128; do
install -Dm644 "$BPM_SOURCE"/browser/branding/librewolf/default"$size".png "$BPM_OUTPUT"/usr/share/icons/hicolor/"$size"x"$size"/apps/librewolf.png
done
# Install librewolf desktop file # Install librewolf desktop file
install -Dm644 ../librewolf.desktop "$BPM_OUTPUT"/usr/share/applications/librewolf.desktop install -Dm644 ../librewolf.desktop "$BPM_OUTPUT"/usr/share/applications/librewolf.desktop