--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<metalink xmlns="urn:ietf:params:xml:ns:metalink">
+ <file name="links-2.29.tar.bz2">
+ <hash type="blake3-256">058ce6e16ba887d6c973c8d0b4e3d8f4617e607dc5ced1b2e8bfe2e574dbea01</hash>
+ <hash type="blake2b-512">6ae2b0e4a4a314756ef74ca19888e4c8a9e89347767475000f4b3ea70eb7157430bb5a6721108585c122eb33f6b05ab5eab600e26c9e1d2b8bdafd85483c6d94</hash>
+ <hash type="blake2b-256">7eb472053525794de0730d19684d299002e6db753b70acfb5915e0f6e35a4289</hash>
+ <hash type="skein-512">6f2be0026a580e961413246fccbf08bba25532638f09bc9c22de9ede0a046f7753f22a737f1aef878dcb03d3dd4f46b91666a6090bc4145866b7a6d8822b8712</hash>
+ <hash type="shake128">e97ec5ae59aec77e142e0c4238265300389fd4b608eed918094a806d6cc2d500</hash>
+ <hash type="shake256">a3931add4d4194e185ca55581618f786dd85a8220ee52472c365020786ce24742421d90f59eab8e6525091d92bf6817a72411d0038e8a4765bd19f0a73730dfe</hash>
+ <hash type="sha-512">5ea8b2fd0eb74d9dc2b45614aef6ee878fe686dff9bcee75ac6ea01f6a7331670f7709233d31986fc64ad86ce549616a4471057837b6caf15af6d1c5c503ac75</hash>
+ <hash type="sha-256">22aa96c0b38e1a6f8f7ed9d7a4167a47fc37246097759ef6059ecf8f9ead7998</hash>
+ <hash type="streebog-512">f79a4c7c39d76b54f7ca2a9c1185c135a231040d3a76999b75dfb46ebe5ff94efbb621f41acdc907db92a36926e086bdf3c7f06987dba9a0d908a4af52b9b56b</hash>
+ <hash type="streebog-256">78d4d2a28cc93e32b400800fdab25182ac95e891bc9c6c696531555c06d88ade</hash>
+ <hash type="xxh3-128">03a2887aa583fa5e7b9a52df1052a3b0</hash>
+ <size>6521024</size>
+ <url>http://links.twibright.com/download/links-2.29.tar.bz2</url>
+ </file>
+</metalink>
--- /dev/null
+[ -n "$BASS_ROOT" ] || BASS_ROOT="$(dirname "$(realpath -- "$0")")"/../../../..
+sname=$1.do . "$BASS_ROOT"/lib/rc
+. "$BASS_ROOT"/build/skel/common.rc
+
+bdeps="rc-paths stow archivers/zstd devel/pkgconf-2.1.1"
+rdeps="graphics/libpng-1.6.43"
+redo-ifchange $bdeps "$DISTFILES"/$NAME.tar.bz2 $rdeps
+hsh=$("$BASS_ROOT"/build/bin/cksum $BASS_REV $SPATH)
+. "$BASS_ROOT"/build/lib/create-tmp-for-build.rc
+"$BASS_ROOT"/build/bin/pkg-inst $bdeps $rdeps
+. ./rc
+tar xf "$DISTFILES"/$NAME.tar.bz2
+"$BASS_ROOT"/bin/rm-r "$SKELBINS"/$ARCH/$NAME-$hsh
+
+cd $NAME
+./configure --prefix="$SKELBINS"/$ARCH/$NAME-$hsh --enable-graphics >&2
+make -j$MAKE_JOBS >&2
+make install >&2
+
+cd "$SKELBINS"/$ARCH
+"$BASS_ROOT"/build/lib/prepare-preinst-010-rdeps $NAME-$hsh $rdeps
+"$BASS_ROOT"/build/lib/mk-pkg $NAME-$hsh
--- /dev/null
+--- configure.orig 2023-03-18 19:13:07.000000000 +0300
++++ configure 2024-06-21 23:44:54.940594000 +0300
+@@ -11272,110 +11272,12 @@
+ { echo "configure: error: Your libpng is too old" 1>&2; exit 1; }
+ fi
+
+- # Check whether --with-libjpeg or --without-libjpeg was given.
+-if test "${with_libjpeg+set}" = set; then
+- withval="$with_libjpeg"
+- if test "$withval" = no; then disable_jpeg=yes; else disable_jpeg=no; fi
+-fi
+-
+- cf_have_jpeg=no
+- if test "$disable_jpeg" != yes; then
+- for ac_hdr in jpeglib.h
+-do
+-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+-echo "configure:11282: checking for $ac_hdr" >&5
+-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+- cat > conftest.$ac_ext <<EOF
+-#line 11287 "configure"
+-#include "confdefs.h"
+-#include <$ac_hdr>
+-EOF
+-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+-{ (eval echo configure:11292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+-if test -z "$ac_err"; then
+- rm -rf conftest*
+- eval "ac_cv_header_$ac_safe=yes"
+-else
+- echo "$ac_err" >&5
+- echo "configure: failed program was:" >&5
+- cat conftest.$ac_ext >&5
+- rm -rf conftest*
+- eval "ac_cv_header_$ac_safe=no"
+-fi
+-rm -f conftest*
+-fi
+-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+- echo "$ac_t""yes" 1>&6
+- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+- cat >> confdefs.h <<EOF
+-#define $ac_tr_hdr 1
+-EOF
+-
+-else
+- echo "$ac_t""no" 1>&6
+-fi
+-done
+-
+- echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
+-echo "configure:11319: checking for jpeg_destroy_decompress in -ljpeg" >&5
+-ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
+-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+- ac_save_LIBS="$LIBS"
+ LIBS="-ljpeg $LIBS"
+-cat > conftest.$ac_ext <<EOF
+-#line 11327 "configure"
+-#include "confdefs.h"
+-/* Override any gcc2 internal prototype to avoid an error. */
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char jpeg_destroy_decompress();
+-
+-int main() {
+-jpeg_destroy_decompress()
+-; return 0; }
+-EOF
+-if { (eval echo configure:11338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+- rm -rf conftest*
+- eval "ac_cv_lib_$ac_lib_var=yes"
+-else
+- echo "configure: failed program was:" >&5
+- cat conftest.$ac_ext >&5
+- rm -rf conftest*
+- eval "ac_cv_lib_$ac_lib_var=no"
+-fi
+-rm -f conftest*
+-LIBS="$ac_save_LIBS"
+-
+-fi
+-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+- echo "$ac_t""yes" 1>&6
+- ac_tr_lib=HAVE_LIB`echo jpeg | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+- cat >> confdefs.h <<EOF
+-#define $ac_tr_lib 1
+-EOF
+-
+- LIBS="-ljpeg $LIBS"
+-
+-else
+- echo "$ac_t""no" 1>&6
+-fi
+-
+- if test "$ac_cv_header_jpeglib_h" = yes && test "$ac_cv_lib_jpeg_jpeg_destroy_decompress" = yes; then
+- cat >> confdefs.h <<\EOF
++cat >> confdefs.h <<EOF
+ #define HAVE_JPEG 1
+ EOF
+-
+- cf_have_jpeg=yes
+- image_formats="$image_formats JPEG"
+- fi
+- fi
++cf_have_jpeg=yes
++image_formats="$image_formats JPEG"
+
+ # Check whether --with-libtiff or --without-libtiff was given.
+ if test "${with_libtiff+set}" = set; then