31 lines
1 KiB
Text
31 lines
1 KiB
Text
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
|
|
|
pkgname=traceroute
|
|
pkgver=2.1.3
|
|
pkgrel=1
|
|
pkgdesc="Tracks the route taken by packets over an IP network"
|
|
arch=('x86_64')
|
|
url="http://traceroute.sourceforge.net/"
|
|
license=('GPL2')
|
|
depends=('glibc')
|
|
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
reproducible-build.patch)
|
|
sha256sums=('05ebc7aba28a9100f9bbae54ceecbf75c82ccf46bdfce8b5d64806459a7e0412'
|
|
'7da5bb24044f6f4b7289ba7cab6bebed01f1ddbf664101405761ca160b62c9db')
|
|
b2sums=('a723bdc8ed5f12f6b53552cf7d330eb028deb55ae85c785451d282be1946cdc57ff428a755cc2bbd71495b49cbc89c1707d2686a553029220f8a089fed1c1fc2'
|
|
'6aec98056399e8cf5a6e33a6355314c527bd34a2f704046ac6b7524f60136ede05dc035e2b08c5ac06ed53f0eda5198afff62d05ea8aeababcd679ecb1484a8d')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
patch -p1 < ../reproducible-build.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make prefix=/usr DESTDIR="${pkgdir}" install
|
|
}
|