commit b4345193a4f024a20498681d62199134f572535e Author: EnumDev Date: Mon May 25 17:14:17 2026 +0300 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-version.sh b/check-version.sh new file mode 100644 index 0000000..cd89e29 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Ignore this package +echo "ignore" diff --git a/pkg.info b/pkg.info new file mode 100644 index 0000000..0f258e2 --- /dev/null +++ b/pkg.info @@ -0,0 +1,18 @@ +name: gnome-icon-theme +description: An icon theme for GNOME +version: 3.12.0 +revision: 1 +url: http://www.gnome.org +license: GPL2-or-later +maintainers: + - enumdev@enumerated.dev +architecture: any +output_architecture: any +type: source +make_depends: + - icon-naming-utils +downloads: + - url: https://download.gnome.org/sources/gnome-icon-theme/${BPM_PKG_VERSION%.*}/gnome-icon-theme-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 359e720b9202d3aba8d477752c4cd11eced368182281d51ffd64c8572b4e503a diff --git a/source.sh b/source.sh new file mode 100644 index 0000000..6c0ed11 --- /dev/null +++ b/source.sh @@ -0,0 +1,25 @@ +# 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 build function is executed in the source directory +# This function is used to compile the source code +build() { + ./configure --prefix=/usr --enable-icon-mapping + make +} + +# The check function is executed in the source directory +# This function is used to run tests to verify the package has been compiled correctly +check() { + make check +} + +# The package function is executed in the source directory +# This function is used to move the compiled files into the output directory +package() { + make DESTDIR="$BPM_OUTPUT" install + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gnome-icon-theme/COPYING +}