diff --git a/srcpkgs/tmux/patches/queue.h.patch b/srcpkgs/tmux/patches/queue.h.patch deleted file mode 100644 index 9f235374d78..00000000000 --- a/srcpkgs/tmux/patches/queue.h.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- compat/imsg.c.orig 2015-05-07 12:10:26.647474701 +0200 -+++ compat/imsg.c 2015-05-07 12:10:34.315439634 +0200 -@@ -17,7 +17,11 @@ - */ - - #include -+#ifdef HAVE_QUEUE_H - #include -+#else -+#include "compat/queue.h" -+#endif - #include - #include - ---- compat/imsg-buffer.c.orig 2015-05-07 13:21:12.542453035 +0200 -+++ compat/imsg-buffer.c 2015-05-07 13:20:34.809621188 +0200 -@@ -17,7 +17,11 @@ - */ - - #include -+#ifdef HAVE_QUEUE_H - #include -+#else -+#include "compat/queue.h" -+#endif - #include - #include - diff --git a/srcpkgs/tmux/template b/srcpkgs/tmux/template index 1458c0f7550..19c4b089314 100644 --- a/srcpkgs/tmux/template +++ b/srcpkgs/tmux/template @@ -1,21 +1,22 @@ # Template file for 'tmux' pkgname=tmux -version=2.0 +version=2.1 revision=1 build_pie=yes build_style=gnu-configure makedepends="ncurses-devel libevent-devel" short_desc="Terminal Multiplexer" maintainer="Juan RP " -homepage="http://tmux.sourceforge.net" -license="BSD" -distfiles="${SOURCEFORGE_SITE}/tmux/${pkgname}-${version}.tar.gz" -checksum=795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362 +homepage="http://tmux.github.io" +license="ISC" +distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz" +checksum=31564e7bf4bcef2defb3cb34b9e596bd43a3937cad9e5438701a81a5a9af6176 post_install() { + vlicense COPYING vinstall examples/bash_completion_tmux.sh 644 usr/share/bash-completion/completions tmux vinstall examples/tmux.vim 644 usr/share/vim/vimfiles/syntax tmux.vim - for f in examples/{*.conf,tmux_backup.sh,xterm-keys.vim}; do + for f in examples/{*.conf,xterm-keys.vim}; do vsconf "$f" done }