Update package version to 20260907
This commit is contained in:
2 files changed
+9
-20
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
name: luit
|
name: luit
|
||||||
description: Filter that can be run between an arbitrary application and a UTF-8 terminal emulator
|
description: Filter that can be run between an arbitrary application and a UTF-8 terminal emulator
|
||||||
version: "20250912"
|
version: "20260907"
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://invisible-island.net/luit/luit.html
|
url: https://invisible-island.net/luit/luit.html
|
||||||
license: custom
|
license: custom
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -12,3 +12,8 @@ depends:
|
|||||||
- libfontenc
|
- libfontenc
|
||||||
make_depends:
|
make_depends:
|
||||||
- libx11
|
- 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,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 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
|
# 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
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
sed -i -e "/D_XOPEN/s/5/6/" configure
|
./configure --prefix=/usr --enable-fontenc
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
|
|
||||||
make
|
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
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install pacakge license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/luit/COPYING
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/luit/COPYING
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user