OCaml 4.14.0 rebuild
[arch-packages.git] / traceroute / trunk / PKGBUILD
blob94047a904c218f7aee4353e2966b85e2f8bf8b5b
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=traceroute
4 pkgver=2.1.0
5 pkgrel=5
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 sha1sums=('bc5c6c8022187511be5665b3818d919be5987dcc'
14           '49c777b929516dd72de8d518cfa97e7b88058750')
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