commit 053c13f88f544cf8b43562fd31de31c900003759 Author: EnumDev Date: Wed Feb 18 14:58:42 2026 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d96df7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Ignore BPM archives and signatures +*.bpm +*.bpm.sig diff --git a/check-updates.sh b/check-updates.sh new file mode 100644 index 0000000..6bbcb7c --- /dev/null +++ b/check-updates.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "ignore" diff --git a/pkg.info b/pkg.info new file mode 100644 index 0000000..6f227c4 --- /dev/null +++ b/pkg.info @@ -0,0 +1,20 @@ +name: gn +description: Meta-build system that generates build files for Ninja +version: 2026.02.05 +revision: 1 +url: https://gn.googlesource.com/gn/ +license: BSD-3-Clause +maintainers: + - enumdev@enumerated.dev +architecture: any +type: source +depends: + - gcc-libs +make_depends: + - clang + - ninja + - python3 +downloads: + - url: https://gn.googlesource.com/gn/+archive/304bbef6c7e9a86630c12986b99c8654eb7fe648.tar.gz + extract_to: ${BPM_SOURCE} + checksum: skip diff --git a/source.sh b/source.sh new file mode 100644 index 0000000..b4176b8 --- /dev/null +++ b/source.sh @@ -0,0 +1,50 @@ +# 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 prepare function is executed in the root of the temp directory +# This function is used for putting downloaded files to the correct location or applying patches +prepare() { + cat > "$BPM_SOURCE"/src/gn/last_commit_position.h <