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

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 10 02:15:24 UTC 2015


    Date: Thursday, September 10, 2015 @ 04:15:24
  Author: foutrelis
Revision: 245642

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  mtr/repos/staging-i686/
  mtr/repos/staging-i686/PKGBUILD
    (from rev 245641, mtr/trunk/PKGBUILD)
  mtr/repos/staging-x86_64/
  mtr/repos/staging-x86_64/PKGBUILD
    (from rev 245641, mtr/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: mtr/repos/staging-i686/PKGBUILD (from rev 245641, mtr/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-10 02:15:24 UTC (rev 245642)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgbase=mtr
+pkgname=(mtr mtr-gtk)
+pkgver=0.86
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://www.bitwizard.nl/mtr/"
+license=('GPL')
+makedepends=('ncurses' 'gtk2')
+source=(ftp://ftp.bitwizard.nl/mtr/$pkgbase-$pkgver.tar.gz)
+md5sums=('8d63592c9d4579ef20cf491b41843eb2')
+
+build() {
+    cp -r  $pkgbase-$pkgver $pkgbase-cli
+    cd mtr-cli
+    ./configure --prefix=/usr --without-gtk --sbindir=/usr/bin
+    make
+
+    cd "$srcdir/$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')
+    cd mtr-cli
+    make DESTDIR="$pkgdir" install
+}
+
+package_mtr-gtk() {
+    pkgdesc="Combines the functionality of traceroute and ping into one tool (GTK version)"
+    depends=('ncurses' "gtk2")
+    conflicts=("mtr")
+    provides=("mtr=$pkgver")
+
+    cd $pkgbase-$pkgver
+    make DESTDIR="$pkgdir" install
+}

Copied: mtr/repos/staging-x86_64/PKGBUILD (from rev 245641, mtr/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-10 02:15:24 UTC (rev 245642)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgbase=mtr
+pkgname=(mtr mtr-gtk)
+pkgver=0.86
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://www.bitwizard.nl/mtr/"
+license=('GPL')
+makedepends=('ncurses' 'gtk2')
+source=(ftp://ftp.bitwizard.nl/mtr/$pkgbase-$pkgver.tar.gz)
+md5sums=('8d63592c9d4579ef20cf491b41843eb2')
+
+build() {
+    cp -r  $pkgbase-$pkgver $pkgbase-cli
+    cd mtr-cli
+    ./configure --prefix=/usr --without-gtk --sbindir=/usr/bin
+    make
+
+    cd "$srcdir/$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')
+    cd mtr-cli
+    make DESTDIR="$pkgdir" install
+}
+
+package_mtr-gtk() {
+    pkgdesc="Combines the functionality of traceroute and ping into one tool (GTK version)"
+    depends=('ncurses' "gtk2")
+    conflicts=("mtr")
+    provides=("mtr=$pkgver")
+
+    cd $pkgbase-$pkgver
+    make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list