diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/mosh/PKGBUILD | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/mosh/PKGBUILD')
-rw-r--r-- | community/mosh/PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/community/mosh/PKGBUILD b/community/mosh/PKGBUILD index 41df99725..a2fc499b6 100644 --- a/community/mosh/PKGBUILD +++ b/community/mosh/PKGBUILD @@ -5,7 +5,7 @@ pkgname=mosh pkgver=1.2.4 -pkgrel=1 +pkgrel=2 pkgdesc='Mobile shell, surviving disconnects with local echo and line editing' arch=('x86_64' 'i686') url='http://mosh.mit.edu/' @@ -13,11 +13,10 @@ license=('GPL3') depends=('protobuf' 'ncurses' 'zlib' 'openssh' 'perl' 'perl-io-tty' 'libutempter') source=("http://$pkgname.mit.edu/$pkgname-$pkgver.tar.gz") sha256sums=('e74d0d323226046e402dd469a176075fc2013b69b0e67cea49762c957175df46') -optdepends=('ufw-extras') options=('!emptydirs') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" ./autogen.sh ./configure --prefix=/usr @@ -25,10 +24,8 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - install -Dm644 "conf/bash_completion.d/$pkgname" \ + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + install -Dm644 "$pkgname-$pkgver/conf/bash_completion.d/$pkgname" \ "$pkgdir/usr/share/bash-completion/completions/$pkgname" } |