42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=traceroute
|
|
pkgver=2.1.5
|
|
pkgrel=01
|
|
pkgdesc="Tracks the route taken by packets over an IP network"
|
|
url="http://traceroute.sourceforge.net/"
|
|
depends=('glibc')
|
|
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
reproducible-build.patch)
|
|
|
|
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
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('GPL2')
|
|
|
|
sha256sums=(9c6c260d96eaab51e3ce461b0a84fe87123ebc6dd6c9a59fab803f95b35a859e # traceroute-2.1.5.tar.gz
|
|
7da5bb24044f6f4b7289ba7cab6bebed01f1ddbf664101405761ca160b62c9db) # reproducible-build.patch
|
|
|
|
## 4bfc91d861ad75b210f54e65b1d851dc4bacaaea737f11cb31bbf3586b45f03a traceroute-2.1.5-01-x86_64.pkg.tar.lz
|
|
|