jobcore/traceroute/PKGBUILD-arch

32 lines
1 KiB
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=traceroute
2024-01-08 00:30:30 +01:00
pkgver=2.1.5
2023-01-15 22:32:00 +01:00
pkgrel=1
2022-03-20 13:19:37 +01:00
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)
2024-01-08 00:30:30 +01:00
sha256sums=('9c6c260d96eaab51e3ce461b0a84fe87123ebc6dd6c9a59fab803f95b35a859e'
'7da5bb24044f6f4b7289ba7cab6bebed01f1ddbf664101405761ca160b62c9db')
2024-01-08 00:30:30 +01:00
b2sums=('b2e99398b23d064f96319c9ca677589175f4bde64bce1f1d3236fc94f0ae3aa00499a2ef4a5c66c3a5815e09e16c534d049c36745119850c90c8af879ef66c6b'
2023-08-31 00:45:53 +02:00
'6aec98056399e8cf5a6e33a6355314c527bd34a2f704046ac6b7524f60136ede05dc035e2b08c5ac06ed53f0eda5198afff62d05ea8aeababcd679ecb1484a8d')
2022-03-20 13:19:37 +01:00
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
}