diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-11 20:29:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-11 20:34:07 +0000 |
commit | dc34c75d18d31e197a545643af69ca378facdc2f (patch) | |
tree | fe4564b48f8eb719fda4abfbcfac64be406a3613 /main/tmux/APKBUILD | |
parent | 6faa45e0d4eb5c65b9e9dad742208874e537e554 (diff) | |
download | aports-dc34c75d18d31e197a545643af69ca378facdc2f.tar.bz2 aports-dc34c75d18d31e197a545643af69ca378facdc2f.tar.xz |
main/tmux: upgrade to 1.5
Diffstat (limited to 'main/tmux/APKBUILD')
-rw-r--r-- | main/tmux/APKBUILD | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD index fcc10dcb2e..51cefeab18 100644 --- a/main/tmux/APKBUILD +++ b/main/tmux/APKBUILD @@ -1,32 +1,42 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=tmux -pkgver=1.4 -pkgrel=1 +pkgver=1.5 +pkgrel=0 pkgdesc="Tool to control multiple terminals from a single terminal" url="http://tmux.sourceforge.net/" arch="all" license="BSD" depends="" -makedepends="ncurses-dev libevent-dev" +makedepends="ncurses-dev libevent-dev autoconf automake" install= subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + tmux-b64_ntop.patch" -build() { - cd "$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 + aclocal + autoreconf +} - ./configure +build() { + cd "$_builddir" + ./configure --prefix=/usr\ + || return 1 make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" PREFIX=/usr install - # the configure script/makefile does not give us possibility to - # change mandir - mkdir "$pkgdir"/usr/share - mv "$pkgdir"/usr/man "$pkgdir"/usr/share/ + make DESTDIR="$pkgdir" install || return 1 } -md5sums="0bfc7dd9a5bab192406167589c716a21 tmux-1.4.tar.gz" +md5sums="3d4b683572af34e83bc8b183a8285263 tmux-1.5.tar.gz +0fe2460847932e5427ee94dbc8a29c41 tmux-b64_ntop.patch" |