Update package version to 20260907

This commit is contained in:
EnumDev committed 2026-09-25 19:52:27 +03:00
1 parent d9dd15c96f
commit 2045905129
2 files changed
+9 -20

No files matched your search

+7 -2
View File
@@ -1,7 +1,7 @@
name: luit
description: Filter that can be run between an arbitrary application and a UTF-8 terminal emulator
version: "20250912"
revision: 2
version: "20260907"
revision: 1
url: https://invisible-island.net/luit/luit.html
license: custom
maintainers:
@@ -12,3 +12,8 @@ depends:
- libfontenc
make_depends:
- libx11
downloads:
- url: https://invisible-mirror.net/archives/luit/luit-${BPM_PKG_VERSION}.tgz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 97bd13da3e3aa59785d64504d37389612a327953bb7581508c5fea5182f9f561
+2 -18
View File
@@ -2,34 +2,18 @@
# 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
DOWNLOAD="https://invisible-mirror.net/archives/luit/luit-${BPM_PKG_VERSION}.tgz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
sed -i -e "/D_XOPEN/s/5/6/" configure
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
./configure --prefix=/usr --enable-fontenc
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 pacakge license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/luit/COPYING
}