← recipes

Commit 5dacc55

0
plików
+0
dodanych
-0
usuniętych
@@ -4,6 +4,9 @@ pkgrel: '1'
4 4 pkgdesc: 'Filter that can be run between an arbitrary application and UTF8 emulator.'
5 5 url: 'https://invisible-island.net/luit/luit.html'
6 6 arch: x86_64
7 +license:
8 +- 'MIT'
9 +
7 10 depends: []
8 11 makedepends:
9 12 - 'xorg-libfontenc'
@@ -15,35 +18,36 @@ sha256sums:
15 18 - SKIP
16 19
17 20 footprint: |
18 - drwxr-xr-x root/root usr/
19 - drwxr-xr-x root/root usr/bin/
20 - -rwxr-xr-x root/root usr/bin/luit
21 - drwxr-xr-x root/root usr/share/
21 + drwxr-xr-x root/root usr/
22 + drwxr-xr-x root/root usr/bin/
23 + -rwxr-xr-x root/root usr/bin/luit
24 + drwxr-xr-x root/root usr/share/
22 25
23 26 footprint_xorg-luit_man: |
24 - drwxr-xr-x root/root usr/share/man/
25 - drwxr-xr-x root/root usr/share/man/man1/
26 - -rw-r--r-- root/root usr/share/man/man1/luit.1.gz
27 + drwxr-xr-x root/root usr/share/man/
28 + drwxr-xr-x root/root usr/share/man/man1/
29 + -rw-r--r-- root/root usr/share/man/man1/luit.1.gz
27 30
28 31 build: |
29 - cd luit-${pkgver}
32 + cd luit-*/
33 +
30 34 line1="#ifdef _XOPEN_SOURCE"
31 35 line2="# undef _XOPEN_SOURCE"
32 36 line3="# define _XOPEN_SOURCE 600"
33 37 line4="#endif"
34 38 sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
35 39 unset line1 line2 line3 line4
36 - cd ${pkgname/xorg-/}-20250912
40 +
37 41 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
38 42 make
39 43
40 44 package: |
41 - cd luit-${pkgver}
45 + cd luit-*/
42 46 make DESTDIR="${PKGDIR}" install
43 47
44 48 update: |
45 - local ext url name LINX
49 + local ext url name LYNX
46 50 LYNX="lynx -read_timeout=20 -dump -listonly -nonumbers "
47 - ext=".tar.bz2"
48 - url="https://ftp.x.org/archive//individual//app"
49 - $LYNX $url/?C=M\;O=D|grep "$ext$"|grep "$url/luit-"|sed "s@$ext\$@@"|sed "s@$url/luit-@@"|head -1
51 + ext=".tgz"
52 + url="https://invisible-mirror.net/archives/luit"
53 + $LYNX $url/?C=M\;O=D | grep "$ext$" | grep "$url/luit-" | sed "s@$ext\$@@" | sed "s@$url/luit-@@" | head -1