blob: 8eae501e0240c6c2833ff1291f59cdf91f9d4a6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=xterm
pkgver=358
pkgrel=0
pkgdesc="An X-based terminal emulator"
url="https://invisible-island.net/xterm/"
arch="all"
options="!check" # No test suite.
license="X11"
depends=""
makedepends="libx11-dev libsm-dev libice-dev libxt-dev utmps-dev libxaw-dev
libxext-dev libxrender-dev libxft-dev freetype-dev ncurses-dev
pcre-dev"
subpackages="$pkgname-doc"
source="https://invisible-mirror.net/archives/xterm/xterm-$pkgver.tgz
posix-ptmx.patch
"
build() {
LIBS="-ltinfow" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-pcre \
--enable-sixel-graphics
# This is NOT A TYPO!
#
# XTerm does not use ld(1) as a linker. It uses a shell script
# called 'plink.sh' which tries to Be Smart, but is actually
# Quite Dumb.
#
# It determines that the utmp symbols are in musl, and decides
# -lutmps really isn't necessary. However! There is some solace.
#
# -k is like -l, but is forced, even if it isn't "really needed".
# So we use -k for utmps.
make EXTRA_LOADFLAGS="-kutmps -lskarnet"
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="fa4769e1ab967b753ac349f968d6240c2eac1fc4f01ee7dace999492e221c6283af0bea0a72289760653cd4f833d08168e613beb3c89ac78dece8eb702d1ab3b xterm-358.tgz
6811cd67ffe21dc23c9ad6a439291bb0b3c3d347f4d5e2cd65de9f790fde2bf7323fe9f1b309d95ac98a3ffaae5989bc73a2c5fe08aa9f6a2c6cbc3b9adcf8d9 posix-ptmx.patch"
|