blob: 768d4218fdfe14b3334b53c2ae019aa72cb84437 (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xterm
pkgver=348
pkgrel=0
pkgdesc="An X-based terminal emulator"
url="https://invisible-island.net/xterm/"
arch="all"
options="!check" # no tests
license="X11"
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
# 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="852896c0aba885bafc80baad899fc56910dce66bf5df6b3fef3f998efc33af9d30b68cfb0c92c7028365ac4944af3d3c198bc0e408ca09e949b993a79c1e6dd9 xterm-348.tgz
e29ef756243faa6f5ced3c74d6879b4fc8f9839501becae49af4f458d0f499bcda40a0eb66dada9cae8bf9789256daf3d1605ac1b5b4301654d8b5ac6eaca81d posix-ptmx.patch"
|