[arch-commits] Commit in mtr/repos/extra-x86_64 (4 files)
Levente Polyak
anthraxx at archlinux.org
Mon Aug 5 22:08:54 UTC 2019
Date: Monday, August 5, 2019 @ 22:08:54
Author: anthraxx
Revision: 359203
archrelease: copy trunk to extra-x86_64
Added:
mtr/repos/extra-x86_64/PKGBUILD
(from rev 359202, mtr/trunk/PKGBUILD)
mtr/repos/extra-x86_64/mtr.install
(from rev 359202, mtr/trunk/mtr.install)
Deleted:
mtr/repos/extra-x86_64/PKGBUILD
mtr/repos/extra-x86_64/mtr.install
-------------+
PKGBUILD | 113 ++++++++++++++++++++++++++++++----------------------------
mtr.install | 18 ++++-----
2 files changed, 68 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-05 22:08:42 UTC (rev 359202)
+++ PKGBUILD 2019-08-05 22:08:54 UTC (rev 359203)
@@ -1,54 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgbase=mtr
-pkgname=('mtr' 'mtr-gtk')
-pkgver=0.92
-pkgrel=2
-pkgdesc='Combines the functionality of traceroute and ping into one tool'
-url='http://www.bitwizard.nl/mtr/'
-arch=('x86_64')
-license=('GPL2')
-makedepends=('ncurses' 'gtk2' 'libcap')
-install=mtr.install
-source=(${pkgbase}-${pkgver}.tar.gz::ftp://ftp.bitwizard.nl/mtr/${pkgbase}-${pkgver}.tar.gz)
-sha512sums=('d362a418b6c17fd2d08da1ed9e033fa3330e4c0497e1bb0644f6193d23f4e20dd8ee181942c2a20ec0025a8b96c521394a21be5a1d9036f8a0a8c4cddfbe381f')
-
-prepare() {
- (cd ${pkgbase}-${pkgver}
- autoreconf -fiv
- )
- cp -ra ${pkgbase}-${pkgver}{,-cli}
-}
-
-build() {
- (cd ${pkgbase}-${pkgver}-cli
- ./configure --prefix=/usr --without-gtk --sbindir=/usr/bin
- make
- )
- (cd ${pkgbase}-${pkgver}
- ./configure --prefix=/usr --sbindir=/usr/bin
- make
- )
-}
-
-package_mtr() {
- pkgdesc='Combines the functionality of traceroute and ping into one tool (CLI version)'
- depends=('ncurses' 'libcap')
- optdepends=('bash-completion: bash completion support')
- cd ${pkgbase}-${pkgver}-cli
- make DESTDIR="${pkgdir}" install
-}
-
-package_mtr-gtk() {
- pkgdesc='Combines the functionality of traceroute and ping into one tool (GTK version)'
- depends=('ncurses' 'libcap' 'gtk2')
- optdepends=('bash-completion: bash completion support')
- conflicts=('mtr')
- provides=("mtr=${pkgver}")
- cd ${pkgbase}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: mtr/repos/extra-x86_64/PKGBUILD (from rev 359202, mtr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-05 22:08:54 UTC (rev 359203)
@@ -0,0 +1,59 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgbase=mtr
+pkgname=('mtr' 'mtr-gtk')
+pkgver=0.93
+pkgrel=1
+pkgdesc='Combines the functionality of traceroute and ping into one tool'
+url='https://www.bitwizard.nl/mtr/'
+arch=('x86_64')
+license=('GPL2')
+makedepends=('ncurses' 'gtk2' 'libcap')
+install=mtr.install
+source=(ftp://ftp.bitwizard.nl/mtr/${pkgbase}-${pkgver}.tar.gz)
+sha512sums=('046e98a661bd6248ce819411ceb6e2b875b92877de38523594898df507836c113573cf40d7d4cc548370f515abe99e0aa4d8b3ba44ad54dd00f8e93c8a96c021')
+
+prepare() {
+ (cd ${pkgbase}-${pkgver}
+ autoreconf -fiv
+ )
+ cp -ra ${pkgbase}-${pkgver}{,-cli}
+}
+
+build() {
+ (cd ${pkgbase}-${pkgver}-cli
+ ./configure \
+ --prefix=/usr \
+ --without-gtk \
+ --sbindir=/usr/bin
+ make
+ )
+ (cd ${pkgbase}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin
+ make
+ )
+}
+
+package_mtr() {
+ pkgdesc='Combines the functionality of traceroute and ping into one tool (CLI version)'
+ depends=('ncurses' 'libcap')
+ optdepends=('bash-completion: bash completion support')
+ cd ${pkgbase}-${pkgver}-cli
+ make DESTDIR="${pkgdir}" install
+}
+
+package_mtr-gtk() {
+ pkgdesc='Combines the functionality of traceroute and ping into one tool (GTK version)'
+ depends=('ncurses' 'libcap' 'gtk2')
+ optdepends=('bash-completion: bash completion support')
+ conflicts=('mtr')
+ provides=("mtr=${pkgver}")
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Deleted: mtr.install
===================================================================
--- mtr.install 2019-08-05 22:08:42 UTC (rev 359202)
+++ mtr.install 2019-08-05 22:08:54 UTC (rev 359203)
@@ -1,9 +0,0 @@
-post_install() {
- setcap cap_net_bind_service,cap_net_raw+ep usr/bin/mtr-packet
-}
-
-post_upgrade() {
- post_install
-}
-
-# vim: ts=2 sw=2 et:
Copied: mtr/repos/extra-x86_64/mtr.install (from rev 359202, mtr/trunk/mtr.install)
===================================================================
--- mtr.install (rev 0)
+++ mtr.install 2019-08-05 22:08:54 UTC (rev 359203)
@@ -0,0 +1,9 @@
+post_install() {
+ setcap cap_net_bind_service,cap_net_raw+ep usr/bin/mtr-packet
+}
+
+post_upgrade() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list