# Maintainer: Eric BĂ©langer pkgname=traceroute pkgver=2.1.2 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=('507c268f2977b4e218ce73e7ebed45ba0d970a8ca4995dd9cbb1ffe8e99b5b1f' '7da5bb24044f6f4b7289ba7cab6bebed01f1ddbf664101405761ca160b62c9db') 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 }