upgpkg: sbcl 2.3.1-1
[arch-packages.git] / traceroute / trunk / PKGBUILD
blob25690e4cfb75ee638622eff421ea886ced144b0b
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')
16 prepare() {
17   cd ${pkgname}-${pkgver}
18   patch -p1 < ../reproducible-build.patch
21 build() {
22   cd ${pkgname}-${pkgver}
23   make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
26 package() {
27   cd ${pkgname}-${pkgver}
28   make prefix=/usr DESTDIR="${pkgdir}" install