PKGBUILDs/extra/mtr/PKGBUILD

21 lines
615 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 26959 2009-02-14 23:36:53Z jgc $
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=mtr
pkgver=0.75
pkgrel=4
pkgdesc="Combines the functionality of traceroute and ping into one tool"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtk2>=2.14.7' 'ncurses>=5.7')
source=(ftp://ftp.bitwizard.nl/mtr/${pkgname}-${pkgver}.tar.gz)
url="http://www.bitwizard.nl/mtr/"
md5sums=('23baca52d0922c2ecba7eba05317868c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-gtk2 || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}