aboutsummaryrefslogtreecommitdiffstats
path: root/main/tmux
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-14 16:34:50 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 11:12:11 +0000
commitd941d21a504b3adf6607ff9b97d0053e99d53640 (patch)
tree21a179110f3ca3b81bfb9fde23972aedd7c67372 /main/tmux
parentbc7189ab7fce0fb22b12993a297d4f35e3a74107 (diff)
downloadaports-d941d21a504b3adf6607ff9b97d0053e99d53640.tar.bz2
aports-d941d21a504b3adf6607ff9b97d0053e99d53640.tar.xz
main/tmux: modernise, add test suite
Diffstat (limited to 'main/tmux')
-rw-r--r--main/tmux/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD
index 8fdf3bd5d9..a284d3d05f 100644
--- a/main/tmux/APKBUILD
+++ b/main/tmux/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tmux
pkgver=2.5
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to control multiple terminals from a single terminal"
url="https://tmux.github.io/"
arch="all"
@@ -23,10 +23,15 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
+ --localstatedir=/var
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install