[arch-commits] Commit in mtr/repos/extra-x86_64 (4 files)

Levente Polyak anthraxx at archlinux.org
Thu Sep 24 21:26:33 UTC 2020


    Date: Thursday, September 24, 2020 @ 21:26:33
  Author: anthraxx
Revision: 396494

archrelease: copy trunk to extra-x86_64

Added:
  mtr/repos/extra-x86_64/PKGBUILD
    (from rev 396493, mtr/trunk/PKGBUILD)
  mtr/repos/extra-x86_64/mtr.install
    (from rev 396493, mtr/trunk/mtr.install)
Deleted:
  mtr/repos/extra-x86_64/PKGBUILD
  mtr/repos/extra-x86_64/mtr.install

-------------+
 PKGBUILD    |  121 +++++++++++++++++++++++++++++-----------------------------
 mtr.install |   18 ++++----
 2 files changed, 70 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-24 21:26:28 UTC (rev 396493)
+++ PKGBUILD	2020-09-24 21:26:33 UTC (rev 396494)
@@ -1,60 +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.93
-pkgrel=3
-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=(https://github.com/traviscross/mtr/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('865c394d8dfa234c472832dc205ddc9ec3cf0552475f565782fd4f4e878251c03f1473e2d28d6799e59da4fcb33c5355049f1e6f02e8610c6bbf681ffb78f53e')
-
-prepare() {
-  (cd ${pkgbase}-${pkgver}
-    echo "${pkgver}" > .tarball-version
-    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 396493, mtr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-24 21:26:33 UTC (rev 396494)
@@ -0,0 +1,61 @@
+# 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.94
+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=(https://github.com/traviscross/mtr/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('0e58bd79562ff80f9308135562ab22aa1f1eea686aefd3aef07bac05e661e34b60fde7c66c96bf4f0919f546376fbd6106ecd8fa92328c24f6f903097496bf11')
+b2sums=('e9b4619a85a515d729f0987d5882fb91e4bfa3be82476efbfdb832d0b13ed334be1c1a1bcf8ab4ca820002e79ca4a24d0b50f2739d9284b7dec0b8852a1a91e0')
+
+prepare() {
+  (cd ${pkgbase}-${pkgver}
+    echo "${pkgver}" > .tarball-version
+    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	2020-09-24 21:26:28 UTC (rev 396493)
+++ mtr.install	2020-09-24 21:26:33 UTC (rev 396494)
@@ -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 396493, mtr/trunk/mtr.install)
===================================================================
--- mtr.install	                        (rev 0)
+++ mtr.install	2020-09-24 21:26:33 UTC (rev 396494)
@@ -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