X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id EB95BDC43A4 for ; Wed, 27 Nov 2013 12:09:02 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id p61so6612539wes.20 for ; Wed, 27 Nov 2013 04:09:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=i/3u/YBwtmi9PqPGo/mSYfBeQOOlY4TBaDEKwSd+V8Y=; b=IbSAx9ud43REGoI4c8HOGl0/3nfcOXuKkc7Xc8yQWKUNVI4rQxBe2MvPq7YPMbtCLi wPW6AliAyhLlqCG2Bfn07W88E5UusS9c59dqTfoDapFucIdE8OXgAhUrwRKduoFOMiAp QB9Yvz75yivw3Y+22yf3musFcdO5jRdORr410BmyLxNcEnG0DFAE9S+GhLOuIx0FwhOZ deTmXfL7gJersjUK3sNwkyiwJeGBNzbuIjjKAMUbSNITFx2td5oUeLVfsaSog8fbD/Ti mwZveUsbOjAeXvaVaF30VcaYyRNlkCluTFCIfhGdzQM4H8ePyAwq22/nZN+PbMeXSDgj hDUg== X-Gm-Message-State: ALoCoQl/uCfSq7fptJw1tidqVmz3Lx3MYKRfzL2nV5t8aE1IJLOSgKpTS8jGnu9fqj2QF5kzIaS8 X-Received: by 10.180.108.42 with SMTP id hh10mr22342129wib.15.1385554140212; Wed, 27 Nov 2013 04:09:00 -0800 (PST) Received: from chlorine.members.linode.com (li677-23.members.linode.com. [88.80.184.23]) by mx.google.com with ESMTPSA id w20sm70028001wia.5.2013.11.27.04.08.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Nov 2013 04:08:59 -0800 (PST) From: Eivind Uggedal To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] main/tmux: bash-completion subpackage Date: Wed, 27 Nov 2013 12:08:45 +0000 Message-Id: <1385554125-25058-1-git-send-email-eivind@uggedal.com> X-Mailer: git-send-email 1.8.4.3 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/tmux/APKBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD index 881e0cc3119e..3402a141db51 100644 --- a/main/tmux/APKBUILD +++ b/main/tmux/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=tmux pkgver=1.8 -pkgrel=2 +pkgrel=3 pkgdesc="Tool to control multiple terminals from a single terminal" url="http://tmux.sourceforge.net/" arch="all" @@ -10,7 +10,7 @@ license="BSD" depends="ncurses-terminfo" makedepends="ncurses-dev libevent-dev autoconf automake" install= -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-bash-completion:completion" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" @@ -39,6 +39,15 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +completion() { + depends="" + pkgdesc="Bash completion script for tmux" + arch="noarch" + + install -Dm644 "$srcdir"/tmux-$pkgver/examples/bash_completion_tmux.sh \ + "$subpkgdir"/usr/share/bash-completion/completions/tmux +} + md5sums="b9477de2fe660244cbc6e6d7e668ea0e tmux-1.8.tar.gz" sha256sums="f265401ca890f8223e09149fcea5abcd6dfe75d597ab106e172b01e9d0c9cd44 tmux-1.8.tar.gz" sha512sums="555c7cdc51bfbaa1c90fa0dc820e7ad89d8a4eb818e62d8ccf4637cc96e985ffd9c242b9ba092820c3fb96d09d65c46064ce361062e59ef2586b122e624bbbbb tmux-1.8.tar.gz" -- 1.8.4.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---