Initial commit

This commit is contained in:
2026-01-18 13:24:38 +02:00
commit e68bac50e7
4 changed files with 42 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Exclude bpm archives
*.bpm
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Gitlab repository
REPO="installer-team/console-setup"
# Replace slash with URL encoded representation
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
# Get tag name using Gitlab Rest API
VERSION=$(curl -s -L https://salsa.debian.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name')
echo "$VERSION"
+16
View File
@@ -0,0 +1,16 @@
name: ckbcomp
description: Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol
version: "1.224"
revision: 1
url: https://salsa.debian.org/installer-team/console-setup
license: GPL2-or-later
architecture: any
output_architecture: any
type: source
depends:
- perl
downloads:
- url: https://salsa.debian.org/installer-team/console-setup/-/archive/${BPM_PKG_VERSION}/console-setup-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: d09f11d01cb8b899fa3e960e2d63b6957c3ab9b0b1114507a8ddf3e296c096a2
+12
View File
@@ -0,0 +1,12 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
install -Dm755 "$BPM_SOURCE"/Keyboard/ckbcomp "$BPM_OUTPUT"/usr/bin/ckbcomp
# Install package license
install -Dm644 "$BPM_SOURCE"/debian/copyright "$BPM_OUTPUT"/usr/share/licenses/ckbcomp/copyright
}