summaryrefslogtreecommitdiffstats
path: root/main/tmux
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-23 15:00:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-23 15:00:43 +0000
commitfec0c753f8a3e5eb5859e406d89c482eff52fa21 (patch)
tree726917aa6ee13c43b8d3c4a2064d9f897013aca8 /main/tmux
parenteba574831986ed9a15422d09aa2d145586ed0adc (diff)
downloadaports-fec0c753f8a3e5eb5859e406d89c482eff52fa21.tar.bz2
aports-fec0c753f8a3e5eb5859e406d89c482eff52fa21.tar.xz
main/tmux: upgrade to 1.0
Diffstat (limited to 'main/tmux')
-rw-r--r--main/tmux/APKBUILD14
-rw-r--r--main/tmux/build.patch23
2 files changed, 7 insertions, 30 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD
index 7edc93226..15ff11ef4 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=0.9
+pkgver=1.0
pkgrel=0
pkgdesc="Tool to control multiple terminals from a single terminal"
url="http://tmux.sourceforge.net/"
@@ -10,18 +10,18 @@ depends=""
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- build.patch"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -p1 < ../build.patch || return 1
./configure
make || return 1
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/
}
-md5sums="2d1df646a6977bb7d9b20e53770d5593 tmux-0.9.tar.gz
-373cabbc35601c3ee71fde0877f5fe83 build.patch"
+md5sums="716b12d9ea052f57d917bf2869d419df tmux-1.0.tar.gz"
diff --git a/main/tmux/build.patch b/main/tmux/build.patch
deleted file mode 100644
index b16c4f4ca..000000000
--- a/main/tmux/build.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -ru tmux-0.9.orig/GNUmakefile tmux-0.9/GNUmakefile
---- tmux-0.9.orig/GNUmakefile 2009-07-09 08:11:37.000000000 +0000
-+++ tmux-0.9/GNUmakefile 2009-07-09 08:12:09.000000000 +0000
-@@ -53,5 +53,5 @@
- install: all
- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
- $(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux
-- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
-- $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/man/man1/tmux.1
-+ $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
-+ $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/share/man/man1/tmux.1
-diff -ru tmux-0.9.orig/configure tmux-0.9/configure
---- tmux-0.9.orig/configure 2009-07-09 08:11:37.000000000 +0000
-+++ tmux-0.9/configure 2009-07-09 08:12:20.000000000 +0000
-@@ -82,7 +82,7 @@
- compat/strtonum.c \
- compat/getopt.c \
- compat/vis.c
--CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
-+CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE -std=c99
- LIBS+= -lcrypt -lutil
- EOF
- ;;