summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBian Jiaping2016-10-26 02:02:51 +0800
committerBian Jiaping2016-10-26 02:02:51 +0800
commiteaee42f4dae54d2f626dfd6141c77b569d8c7a71 (patch)
tree404346827b53dd8b59172afb535d646db921a707 /PKGBUILD
downloadaur-eaee42f4dae54d2f626dfd6141c77b569d8c7a71.tar.gz
Initialize
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
+}