summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35ca3cca672e0ca925f57643de8901ed2e20ff62 (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
# Maintainer: Bian Jiaping <ssbianjp [AT] gmail.com>

pkgname=besttrace
pkgver=1.2
pkgrel=2
pkgdesc="IPIP.net 开发的加强版 traceroute,附带链路可视化"
arch=('x86_64' 'i686')
url="https://www.ipip.net/download.html"
license=('custom')
install=besttrace.install

if [ "${CARCH}" = "i686" ]; then
    _filename=besttrace32
else
    _filename=besttrace
fi

source=("https://cdn.ipip.net/17mon/besttrace4linux.zip")
md5sums=("e209a35be256e25289ac7c581d60028d")

package(){
    mkdir -p "$pkgdir"/usr/bin/

    install -m755 "$srcdir"/$_filename "$pkgdir"/usr/bin/besttrace
}