From 2045905129395dd230a45762ed46b5907d90499c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 25 Sep 2026 19:52:27 +0300 Subject: [PATCH] Update package version to 20260907 --- info.yml | 9 +++++++-- recipe.sh | 20 ++------------------ 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/info.yml b/info.yml index 81c16f0..da81b6b 100644 --- a/info.yml +++ b/info.yml @@ -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 diff --git a/recipe.sh b/recipe.sh index c8a683f..a08faf0 100644 --- a/recipe.sh +++ b/recipe.sh @@ -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 }