archrelease: copy trunk to extra-x86_64
[arch-packages.git] / traceroute / trunk / PKGBUILD
blob2bc406f7c67f88f88466f1fcc36c4dc957334bc2
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=traceroute
4 pkgver=2.1.2
5 pkgrel=1
6 pkgdesc="Tracks the route taken by packets over an IP network"
7 arch=('x86_64')
8 url="http://traceroute.sourceforge.net/"
9 license=('GPL2')
10 depends=('glibc')
11 source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
12         reproducible-build.patch)
13 sha256sums=('507c268f2977b4e218ce73e7ebed45ba0d970a8ca4995dd9cbb1ffe8e99b5b1f'
14             '7da5bb24044f6f4b7289ba7cab6bebed01f1ddbf664101405761ca160b62c9db')
15 b2sums=('e0a89b3f4eef6709bc696a30579645ca096c9c424fd577a988c6d93058858b047ec01f88258bc2e558a4ffc1cc8c047c89fcd9ab85914e2c3060df8a59f07c23'
16         '6aec98056399e8cf5a6e33a6355314c527bd34a2f704046ac6b7524f60136ede05dc035e2b08c5ac06ed53f0eda5198afff62d05ea8aeababcd679ecb1484a8d')
18 prepare() {
19   cd ${pkgname}-${pkgver}
20   patch -p1 < ../reproducible-build.patch
23 build() {
24   cd ${pkgname}-${pkgver}
25   make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
28 package() {
29   cd ${pkgname}-${pkgver}
30   make prefix=/usr DESTDIR="${pkgdir}" install