summaryrefslogtreecommitdiff
path: root/opt/traceroute/MAKEPKG
blob: 3cf1d05f17ec612a221029e8fffc296f2c37789a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/mkpkg
# description: Traces the route packets take to a network host
# url: https://traceroute.sourceforge.net

name=traceroute
version=2.1.6
release=1
depends=()
capabilities=(
    /usr/bin/traceroute:cap_net_raw+ep
)
source=(https://sourceforge.net/projects/$name/files/$name/$name-$version/$name-$version.tar.gz)

sha256sums=(
    "9ccef9cdb9d7a98ff7fbf93f79ebd0e48881664b525c4b232a0fcec7dcb9db5e"
)

build() {
    cd $name-$version

    make CC=${CC:-cc} prefix=/usr LDFLAGS="$LDFLAGS"
    make CC=${CC:-cc} prefix=/usr DESTDIR=$PKG install

    ln -sf traceroute $PKG/usr/bin/traceroute6
    ln -sf traceroute.8 $PKG/usr/share/man/man8/traceroute6.8
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh