summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..694ca3cf161
--- /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
+}