Initial commit

This commit is contained in:
2025-10-26 13:53:30 +02:00
commit cc06e7bb95
4 changed files with 34 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Exclude bpm archives
*.bpm
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Ignore this package
echo "ignore"
+16
View File
@@ -0,0 +1,16 @@
name: gnu-freefont
description: Free family of scalable outline fonts
version: "20120503"
revision: 1
url: https://www.gnu.org/software/freefont/
license: GPL3-or-later
architecture: any
output_architecture: any
type: source
provides:
- ttf-font
downloads:
- url: https://ftpmirror.gnu.org/gnu/freefont/freefont-otf-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 3a6c51868c71b006c33c4bcde63d90927e6fcca8f51c965b8ad62d021614a860
+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 -Dm644 *.otf -t "$BPM_OUTPUT"/usr/share/fonts/gnu-free-fonts/
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gnu-freefont/COPYING
}