aboutsummaryrefslogblamecommitdiffstats
path: root/main/tmux/APKBUILD
blob: 32f698eb9337e49af1fbc347240e97c8c5dca9dd (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
           
        
                                                                   
                            
          
             
                               
                                                        
                          
                                                                                   
 


                      
 
         



                                 

                                         
                                    
            

 
         


                  
           
                                      
 
                                            
                                                                       
                                                  
                                                                       
            
 
 


                                                                                                                                                  
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tmux
pkgver=3.2a
pkgrel=0
pkgdesc="Tool to control multiple terminals from a single terminal"
url="https://tmux.github.io"
arch="all"
license="ISC"
depends="ncurses-terminfo-base"
makedepends="autoconf automake libevent-dev ncurses-dev"
subpackages="$pkgname-doc"
source="https://github.com/tmux/tmux/releases/download/$pkgver/tmux-$pkgver.tar.gz"

# secfixes:
#   3.1c-r0:
#     - CVE-2020-27347

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install

	install -D -m644 example_tmux.conf \
		"$pkgdir"/usr/share/doc/$pkgname/examples/$pkgname.conf
	local file; for file in CHANGES README; do
		install -m644 "$file" "$pkgdir"/usr/share/doc/$pkgname/
	done
}

sha512sums="
6e52c7f5d03b2c8b8c4c8caac092a166956ba97334b426f2823d74dc5849a1d31a80145924f641f69dd2c244809e9350d9bd7070897fa2e3e1f9f086f9b2f365  tmux-3.2a.tar.gz
"