* update tmux to 3.4-4

This commit is contained in:
Alexander Baldeck 2024-03-03 10:46:34 +01:00
parent 59d7c41a5f
commit d20c8282ab

View File

@ -3,37 +3,28 @@
# Maintainer: T.J. Townsend <blakkheim@archlinux.org>
pkgname=tmux
pkgver=3.3_a
pkgrel=7
pkgver=3.4
pkgrel=4
pkgdesc='Terminal multiplexer'
url='https://github.com/tmux/tmux/wiki'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('BSD')
depends=('ncurses' 'libevent' 'libutempter' 'systemd-libs')
depends=('libevent' 'libevent_core-2.1.so'
'libutempter'
'ncurses' 'libncursesw.so'
'systemd-libs' 'libsystemd.so')
makedepends=('systemd')
source=("https://github.com/tmux/tmux/releases/download/${pkgver/_/}/tmux-${pkgver/_/}.tar.gz"
'0001-CVE-2022-47016.patch'
'0002-ncurses.patch')
sha256sums=('e4fd347843bd0772c4f48d6dde625b0b109b7a380ff15db21e97c11a4dcdf93f'
'58fb690833e086b71b52555aa8eced695ace0a0bc51b8bccfda441e35a47ca93'
'70e8cc2a95dd4a19ff54bcf0abaeff6464ebecbaace5ed0aec06ca93a84d415a')
prepare() {
cd "$pkgname-${pkgver/_/}"
patch -Np1 -i ../0001-CVE-2022-47016.patch
patch -Np1 -i ../0002-ncurses.patch
autoreconf -fi
}
source=("https://github.com/tmux/tmux/releases/download/${pkgver/_/}/tmux-${pkgver/_/}.tar.gz")
sha256sums=('551ab8dea0bf505c0ad6b7bb35ef567cdde0ccb84357df142c254f35a23e19aa')
build() {
cd "$pkgname-${pkgver/_/}"
./configure \
--prefix=/usr \
--enable-utempter \
--enable-systemd
--enable-sixel \
--enable-systemd \
--enable-utempter
make
}