summaryrefslogtreecommitdiff
path: root/core/traceroute/PKGBUILD
blob: b0bff2380828c0840f8325fef5ca14d98c7bd24e (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 175126 2013-01-14 12:47:17Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>

pkgname=traceroute
pkgver=2.0.19
pkgrel=1
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
}