diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9e806a4359b5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Tue Oct 25 18:00:02 UTC 2016 +pkgbase = besttrace + pkgdesc = IPIP.net 的加强版 traceroute,附带链路可视化 + pkgver = 1.0.0 + pkgrel = 1 + url = https://www.ipip.net/download.html#ip_trace + arch = x86_64 + arch = i686 + license = custom + source = https://cdn.ipip.net/17mon/besttrace4linux.zip + md5sums = 381ebfcac4e8d901246b0202edde41f7 + +pkgname = besttrace + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..315eac8771a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg +/src +/*.tar.xz +/*.zip diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..694ca3cf1617 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Bian Jiaping <ssbianjp [AT] gmail.com> + +pkgname=besttrace +pkgver=1.0.0 +pkgrel=1 +pkgdesc="IPIP.net 开发的加强版 traceroute,附带链路可视化" +arch=('x86_64' 'i686') +url="https://www.ipip.net/download.html#ip_trace" +license=('custom') + +if [ "${CARCH}" = "i686" ]; then + _filename=besttrace32 +else + _filename=besttrace +fi + +source=("https://cdn.ipip.net/17mon/besttrace4linux.zip") +md5sums=("381ebfcac4e8d901246b0202edde41f7") + +package(){ + mkdir -p "$pkgdir"/usr/bin/ + + install -m4755 "$srcdir"/$_filename "$pkgdir"/usr/bin/besttrace +} |