summaryrefslogtreecommitdiffstats
path: root/mtr-cli/PKGBUILD
blob: 06f6008be2845913058fafb3119ab927cdcc055a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Florian "Bluewind" Pritz <flo@xssn.at>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>

pkgname=mtr-cli
pkgver=0.80
pkgrel=1
pkgdesc="Combines the functionality of traceroute and ping into one tool"
arch=('i686' 'x86_64')
license=('GPL')
depends=('ncurses>=5.7')
conflicts=('mtr')
source=(ftp://ftp.bitwizard.nl/mtr/mtr-${pkgver}.tar.gz no_gtk.patch)
url="http://www.bitwizard.nl/mtr/"

build() {
  cd "${srcdir}/mtr-${pkgver}"
  ./configure --disable-gtktest --without-gtk
  make || return 1
  install -Dm4755 mtr "$pkgdir/usr/bin/mtr"
  install -Dm644 mtr.8 "$pkgdir/usr/share/man/man8/mtr.8"
}
md5sums=('fa68528eaec1757f52bacf9fea8c68a9'
         '6ac91ddba465f3bf5d2af26b533b578f')