54 lines
1.3 KiB
Bash
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=02
|
|
pkgdesc='A terminal multiplexer w/o systemd'
|
|
url='https://github.com/tmux/tmux/wiki'
|
|
depends=('libevent' 'libevent_core-2.1.so'
|
|
'libsixel'
|
|
'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 \
|
|
--enable-sixel \
|
|
--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
|
|
|
|
## 487f378d182fd9c03bccedd9db8319a3c8b152b9ffcdcd50d3fb5288cb3f2288 tmux-3.4-02-x86_64.pkg.tar.lz
|