Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Exclude bpm archives
|
||||
*.bpm
|
||||
@@ -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"
|
||||
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user