summaryrefslogtreecommitdiff
path: root/community/mosh
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-31 16:24:59 +0000
committerroot <root@rshg054.dnsready.net>2012-05-31 16:24:59 +0000
commitf5a8de28b86c2c838a28e79aa54f8b4c3fbd869e (patch)
tree26873b23c15ea28962e55ab4dc7ae94b468089cf /community/mosh
parentf1ae949e08a764ac063703dc9bb7f0afd7c16e96 (diff)
Thu May 31 16:24:59 UTC 2012
Diffstat (limited to 'community/mosh')
-rw-r--r--community/mosh/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/mosh/PKGBUILD b/community/mosh/PKGBUILD
index 55e108379..4d9aa7fbd 100644
--- a/community/mosh/PKGBUILD
+++ b/community/mosh/PKGBUILD
@@ -5,19 +5,19 @@
pkgname=mosh
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc='Mobile shell, surviving disconnects with local echo and line editing'
arch=('x86_64' 'i686')
url="http://mosh.mit.edu/"
license=('GPL3')
depends=('protobuf' 'ncurses' 'zlib' 'openssh' 'perl' 'perl-io-tty')
#optdepends=('libutempter: record of session in {u,t}wmp (recompile mosh afterwards)')
-source=("$pkgname-$pkgver.tgz::https://nodeload.github.com/keithw/mosh/tarball/master")
-sha1sums=('8fd1697ca1fcfdf546fc40f67bf41fe4f8e6bd74')
+source=("https://github.com/downloads/keithw/mosh/mosh-1.2.1.tar.gz")
+sha1sums=('73b95b11699d8321c749a9590e0c12caeed52405')
options=('!emptydirs')
build() {
- cd "$srcdir/keithw-mosh-"*
+ cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
./configure --prefix=/usr
@@ -25,9 +25,13 @@ build() {
}
package() {
- cd "$srcdir/keithw-mosh-"*
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
+ install -Dm644 "conf/bash_completion.d/$pkgname" \
+ "$pkgdir/etc/bash_completion.d/$pkgname"
+ install -Dm644 "conf/ufw/applications.d/$pkgname" \
+ "$pkgdir/etc/ufw/applications.d/ufw-$pkgname"
}
# vim:set ts=2 sw=2 et: