🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142
pkgname: 'xorg-luit'
pkgver: '20250912'
pkgrel: '1'
pkgdesc: 'Filter that can be run between an arbitrary application and UTF8 emulator.'
url: 'https://invisible-island.net/luit/luit.html'
arch: x86_64
license:
- 'MIT'
depends: []
makedepends:
- 'xorg-libfontenc'
source:
- 'https://invisible-mirror.net/archives/luit/luit-${pkgver}.tgz'
sha256sums:
- SKIP
build: |
cd luit-*/
line1="#ifdef _XOPEN_SOURCE"
line2="# undef _XOPEN_SOURCE"
line3="# define _XOPEN_SOURCE 600"
line4="#endif"
sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
unset line1 line2 line3 line4
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
make
package: |
cd luit-*/
make DESTDIR="${PKGDIR}" install
update: |
local ext url name LYNX
LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers "
ext=".tgz"
url="https://invisible-mirror.net/archives/luit"
$LYNX $url/?C=M\;O=D | grep "$ext$" | grep "$url/luit-" | sed "s@$ext\$@@" | sed "s@$url/luit-@@" | head -1