jobextra/tmux/PKGBUILD

54 lines
1.3 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=tmux
pkgver=3.4
pkgrel=03
pkgdesc='A terminal multiplexer w/o systemd'
url='https://github.com/tmux/tmux/wiki'
depends=('libevent' 'libevent_core-2.1.so'
'libutempter'
'ncurses' 'libncursesw.so')
source=("https://github.com/tmux/tmux/releases/download/${pkgver/_/}/tmux-${pkgver/_/}.tar.gz")
prepare() {
cd "$pkgname-${pkgver/_/}"
# patch -Np1 -i ../0001-CVE-2022-47016.patch
# patch -Np1 -i ../0002-ncurses.patch
#
# autoreconf -fi
}
build() {
cd "$pkgname-${pkgver/_/}"
./configure \
--prefix=/usr \
--enable-utempter \
--disable-systemd
make
}
package() {
cd "$pkgname-${pkgver/_/}"
make install DESTDIR="$pkgdir"
install -D -m0644 COPYING "$pkgdir/usr/share/licenses/tmux/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('BSD')
sha256sums=(551ab8dea0bf505c0ad6b7bb35ef567cdde0ccb84357df142c254f35a23e19aa) # tmux-3.4.tar.gz
## 3f1c55c27bd2e3349e49793033889f940cd0a43c3179f2633dfa2bde2279de00 tmux-3.4-03-x86_64.pkg.tar.lz