summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Jiaping2019-01-21 00:05:25 +0800
committerBian Jiaping2019-01-21 00:05:25 +0800
commit33d9b0e314c08d3d3559e216437e351a8ad4c4d7 (patch)
treead3ffd78c80ba5bf961c9279c5171c3c4596e65e
parentf42aa57ed011f01702e6198a5b813f707c5e227d (diff)
downloadaur-33d9b0e314c08d3d3559e216437e351a8ad4c4d7.tar.gz
Add pkgver to downloaded source file name
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9de4e2a9010..6465770335e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = besttrace
pkgdesc = IPIP.net 开发的加强版 traceroute,附带链路可视化
pkgver = 1.2
- pkgrel = 3
- url = https://www.ipip.net/download.html
+ pkgrel = 4
+ url = https://www.ipip.net/download.html#besttrace
install = besttrace.install
arch = x86_64
arch = i686
license = custom
- source = https://cdn.ipip.net/17mon/besttrace4linux.zip
+ source = besttrace-1.2.zip::https://cdn.ipip.net/17mon/besttrace4linux.zip
md5sums = 3831955017750d616619b5117da17675
pkgname = besttrace
diff --git a/PKGBUILD b/PKGBUILD
index f8a5f50efb4..c9f2375d286 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,10 @@
pkgname=besttrace
pkgver=1.2
-pkgrel=3
+pkgrel=4
pkgdesc="IPIP.net 开发的加强版 traceroute,附带链路可视化"
arch=('x86_64' 'i686')
-url="https://www.ipip.net/download.html"
+url="https://www.ipip.net/download.html#besttrace"
license=('custom')
install=besttrace.install
@@ -15,7 +15,7 @@ else
_filename=besttrace
fi
-source=("https://cdn.ipip.net/17mon/besttrace4linux.zip")
+source=("besttrace-$pkgver.zip::https://cdn.ipip.net/17mon/besttrace4linux.zip")
md5sums=('3831955017750d616619b5117da17675')
package(){