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

Levente Polyak anthraxx at archlinux.org
Tue Aug 6 20:14:13 UTC 2019


    Date: Tuesday, August 6, 2019 @ 20:14:13
  Author: anthraxx
Revision: 359264

archrelease: copy trunk to extra-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-06 20:14:07 UTC (rev 359263)
+++ PKGBUILD	2019-08-06 20:14:13 UTC (rev 359264)
@@ -1,59 +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=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:

Copied: mtr/repos/extra-x86_64/PKGBUILD (from rev 359263, mtr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-06 20:14:13 UTC (rev 359264)
@@ -0,0 +1,60 @@
+# 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=2
+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:

Deleted: mtr.install
===================================================================
--- mtr.install	2019-08-06 20:14:07 UTC (rev 359263)
+++ mtr.install	2019-08-06 20:14:13 UTC (rev 359264)
@@ -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 359263, mtr/trunk/mtr.install)
===================================================================
--- mtr.install	                        (rev 0)
+++ mtr.install	2019-08-06 20:14:13 UTC (rev 359264)
@@ -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