summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Jiaping2016-10-26 02:02:51 +0800
committerBian Jiaping2016-10-26 02:02:51 +0800
commiteaee42f4dae54d2f626dfd6141c77b569d8c7a71 (patch)
tree404346827b53dd8b59172afb535d646db921a707
downloadaur-eaee42f4dae54d2f626dfd6141c77b569d8c7a71.tar.gz
Initialize
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD24
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9e806a4359b
--- /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 00000000000..315eac8771a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/src
+/*.tar.xz
+/*.zip
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
+}