aboutsummaryrefslogtreecommitdiffstats
path: root/main/tmux/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-09-30 11:21:51 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-09-30 11:22:49 +0200
commitf70eb00a3e3bee851249355a8644511ad76d5dc1 (patch)
treec95b14e485f626e424ef3def5c89510bb8e4c139 /main/tmux/APKBUILD
parent4565d3620dfdd32e8a38cc95856092b095e6c44c (diff)
downloadaports-f70eb00a3e3bee851249355a8644511ad76d5dc1.tar.bz2
aports-f70eb00a3e3bee851249355a8644511ad76d5dc1.tar.xz
main/tmux: upgrade to 2.3
Diffstat (limited to 'main/tmux/APKBUILD')
-rw-r--r--main/tmux/APKBUILD35
1 files changed, 20 insertions, 15 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD
index afa3685d0a..0a37a66871 100644
--- a/main/tmux/APKBUILD
+++ b/main/tmux/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tmux
-pkgver=2.2
+pkgver=2.3
pkgrel=0
pkgdesc="Tool to control multiple terminals from a single terminal"
url="http://tmux.sourceforge.net/"
@@ -11,35 +11,40 @@ depends="ncurses-terminfo"
makedepends="ncurses-dev libevent-dev autoconf automake bsd-compat-headers"
install=
subpackages="$pkgname-doc"
-source="https://github.com/tmux/tmux/releases/download/$pkgver/tmux-$pkgver.tar.gz"
+source="https://github.com/tmux/tmux/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/"$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+
+ cd "$builddir"
aclocal && autoconf && automake --add-missing --force || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
make || return 1
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
-}
+ install -Dm644 CHANGES \
+ "$pkgdir"/usr/share/doc/$pkgname/CHANGES || return 1
+ install -Dm644 example_tmux.conf \
+ "$pkgdir"/usr/share/doc/$pkgname/examples/$pkgname.conf \
+ || return 1
+}
-md5sums="bd95ee7205e489c62c616bb7af040099 tmux-2.2.tar.gz"
-sha256sums="bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4 tmux-2.2.tar.gz"
-sha512sums="4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf tmux-2.2.tar.gz"
+md5sums="fcfd1611d705d8b31df3c26ebc93bd3e tmux-2.3.tar.gz"
+sha256sums="55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b tmux-2.3.tar.gz"
+sha512sums="521e3734104be43837cba95d8b3d050d033708fa7469f7e7db66ae6993b002c4d9f6bafec41f3c9446eda91a4499e571019534dfa2e5a0563085b2d16e1b94af tmux-2.3.tar.gz"