diff options
author | Ćukasz Jendrysik <scadu@yandex.com> | 2017-05-31 14:00:32 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-06 12:23:31 +0000 |
commit | 7988b47d4eaef252cf69e76e401955c33b155c22 (patch) | |
tree | b7af9f0ee4ec83ddafcf342c6e25e9b612a4198d /main/tmux | |
parent | 3d4ecf264869e752d7e46b27629ff84ed4026eb4 (diff) | |
download | aports-7988b47d4eaef252cf69e76e401955c33b155c22.tar.bz2 aports-7988b47d4eaef252cf69e76e401955c33b155c22.tar.xz |
main/tmux: upgrade to 2.5, remove return 1
cleanup, do not force automake
get rid of empty files, improve readability
Diffstat (limited to 'main/tmux')
-rw-r--r-- | main/tmux/APKBUILD | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD index f771e443cd..8fdf3bd5d9 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.4 +pkgver=2.5 pkgrel=0 pkgdesc="Tool to control multiple terminals from a single terminal" url="https://tmux.github.io/" @@ -14,12 +14,6 @@ subpackages="$pkgname-doc" source="https://github.com/tmux/tmux/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir/"$pkgname-$pkgver -prepare() { - default_prepare || return 1 - - cd "$builddir" - aclocal && autoconf && automake --add-missing --force || return 1 -} build() { cd "$builddir" @@ -30,21 +24,18 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ - || return 1 - make || return 1 + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -Dm644 example_tmux.conf \ - "$pkgdir"/usr/share/doc/$pkgname/examples/$pkgname.conf \ - || return 1 + "$pkgdir"/usr/share/doc/$pkgname/examples/$pkgname.conf for file in CHANGES FAQ README TODO; do - install -m644 "$file" "$pkgdir"/usr/share/doc/$pkgname/ \ - || return 1 + install -m644 "$file" "$pkgdir"/usr/share/doc/$pkgname/ done } -sha512sums="e9d93f6b8b68dddf05046ef1e1bc8c55a1f2c4bb96f4e12c25c202358b3280b3e14df8818ed449aadc783306b0869e5e7418192f60bb16afebc6b396cb50999c tmux-2.4.tar.gz" +sha512sums="c0e8365a553d034e347f2f7a0d64f04e2be4307a75a9f72c8218fc56b72e531f3f37fe4a8f0e8d70801f5f62ee250ab7e9978abd6d101d273f76b4a1a92b08e0 tmux-2.5.tar.gz" |