# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=traceroute
pkgver=2.1.0
pkgrel=0
pkgdesc="Utility to trace the network route of packets"
url="http://traceroute.sourceforge.net/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" prefix="/usr" install
	ln -s traceroute "$pkgdir"/usr/bin/traceroute6
}

sha512sums="3578007c734091ea0c906637c03fd133a8b0154fbf2e6b5c0c881184947918196bc03aeaf872d3bd53777b9b771cba5cf97f73fb5916bb53b75037f429b40ed3  traceroute-2.1.0.tar.gz"