summaryrefslogtreecommitdiff
path: root/core/traceroute/PKGBUILD
blob: aeaae4b74ed0820a62c4b2913084fa02e2ff5b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 195972 2013-10-06 19:11:34Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=traceroute
pkgver=2.0.19
pkgrel=2
pkgdesc="Tracks the route taken by packets over an IP network"
arch=('i686' 'x86_64')
url="http://traceroute.sourceforge.net/"
license=('GPL2')
depends=('glibc')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha1sums=('44c109cfe4950f1617d0d796b432356b9acf4bd4')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make CFLAGS="$CFLAGS"
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make prefix=/usr DESTDIR="${pkgdir}" install
}