58 lines
1.4 KiB
Bash
58 lines
1.4 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=05
|
|
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')
|
|
makedepends=('git' 'autoconf')
|
|
#source=("https://github.com/tmux/tmux/releases/download/${pkgver/_/}/tmux-${pkgver/_/}.tar.gz")
|
|
source=("git+https://github.com/tmux/tmux.git#tag=${pkgver}")
|
|
|
|
prepare() {
|
|
cd "$pkgname"
|
|
|
|
# patch -Np1 -i ../0001-CVE-2022-47016.patch
|
|
# patch -Np1 -i ../0002-ncurses.patch
|
|
#
|
|
# autoreconf -fi
|
|
sh autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd "$pkgname"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-utempter \
|
|
--enable-sixel \
|
|
--disable-systemd
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname"
|
|
|
|
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
|
|
|
|
sha256sums=(71387cf05585836da88d9b481f98e89be5bc8f09a203600187b22aa0e00c52b0) # tmux
|
|
|
|
## d1eba08cebdee1a5aaffd490a2bbf1344401950ef7d4dcd8a6d646d054548925 tmux-3.4-05-x86_64.pkg.tar.lz
|
|
|