aboutsummaryrefslogtreecommitdiffstats
path: root/community/mtr
diff options
context:
space:
mode:
Diffstat (limited to 'community/mtr')
-rw-r--r--community/mtr/APKBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/community/mtr/APKBUILD b/community/mtr/APKBUILD
index 90c96918f5b..e00755c17ad 100644
--- a/community/mtr/APKBUILD
+++ b/community/mtr/APKBUILD
@@ -1,19 +1,24 @@
# Contributor: John Keith Hohm <john@hohm.net>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=mtr
-pkgver=0.94
-pkgrel=0
+pkgver=0.95
+pkgrel=2
pkgdesc="Full screen ncurses traceroute tool"
-options="!check" # Tests require pyhton2
-url="http://www.bitwizard.nl/mtr/"
+url="https://www.bitwizard.nl/mtr/"
arch="all"
license="GPL-2.0-only"
-makedepends="ncurses-dev autoconf gtk+2.0-dev libcap-dev"
-options="suid"
+makedepends="autoconf automake ncurses-dev autoconf gtk+2.0-dev libcap-dev jansson-dev"
subpackages="$pkgname-doc $pkgname-gtk $pkgname-bash-completion:bashcomp:noarch"
-source="ftp://ftp.bitwizard.nl/mtr/mtr-$pkgver.tar.gz
+source="$pkgname-$pkgver-update.tar.gz::https://github.com/traviscross/mtr/archive/v$pkgver/mtr-$pkgver.tar.gz
mtr-gtk.desktop
"
+options="suid !check" # Tests require pyhton2
+
+prepare() {
+ default_prepare
+
+ ./bootstrap.sh
+}
build() {
mkdir -p mtr curses gtk
@@ -62,5 +67,7 @@ bashcomp() {
rm -rf "$pkgdir"/usr/share/bash-completion
}
-sha512sums="82d7f3c3a692800739a37c95b0a561cb3897e18db7b8b6e4e43c7cba997488e811d82e92ad3f0e97712633627020c7be81e3053c0444f4cc4bd3d9b87fde2aa7 mtr-0.94.tar.gz
-ecf7543e0125fad6d3f17c30f29f1fc8a3b1e2e477802fe8464e436c3cdfa30d0630b8543cc3f022c475228e94ac8f92981df4d8fb08fe01d004be3d78d6da77 mtr-gtk.desktop"
+sha512sums="
+a7d69e0c551a10ae80a650a34588119e6c6b124a8c2c93d3de29e5daa6ef99f9217d875529d443c3760cd6fd7bd04d1e9abe33ef12635826c66a98bd776c1690 mtr-0.95-update.tar.gz
+ecf7543e0125fad6d3f17c30f29f1fc8a3b1e2e477802fe8464e436c3cdfa30d0630b8543cc3f022c475228e94ac8f92981df4d8fb08fe01d004be3d78d6da77 mtr-gtk.desktop
+"