summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7556a1a4f2820214be639cd97a9aaa97763f8002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Christian Neukirchen <chneukirchen@gmail.com>
# Maintainer: ava1ar <mail(at)ava1ar(dot)me>

pkgname=mosh-git
pkgver=20150728
pkgrel=1
pkgdesc="Mobile shell, surviving disconnects with local echo and line editing, development version"
arch=('i686' 'x86_64' 'arm')
url="http://mosh.mit.edu/"
license=('GPL3')
depends=('protobuf' 'ncurses' 'zlib' 'openssh' 'perl' 'perl-io-tty' 'libutempter')
makedepends=('git')
optdepends=('perl-io-socket-ip: for IPv6 support')
conflicts=('mosh')
source=('git+https://github.com/keithw/mosh.git')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/mosh"
  git log -1 --format="%cd" --date=short | sed 's|-||g'
}

build() {
  cd "${srcdir}/mosh"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/mosh"
  make DESTDIR="${pkgdir}" install
}