[arch-commits] Commit in mtr/repos/extra-x86_64 (4 files)
Levente Polyak
anthraxx at gemini.archlinux.org
Thu Feb 24 19:52:25 UTC 2022
Date: Thursday, February 24, 2022 @ 19:52:25
Author: anthraxx
Revision: 438094
archrelease: copy trunk to extra-x86_64
Added:
mtr/repos/extra-x86_64/PKGBUILD
(from rev 438093, mtr/trunk/PKGBUILD)
mtr/repos/extra-x86_64/mtr.install
(from rev 438093, mtr/trunk/mtr.install)
Deleted:
mtr/repos/extra-x86_64/PKGBUILD
mtr/repos/extra-x86_64/mtr.install
-------------+
PKGBUILD | 123 +++++++++++++++++++++++++++++-----------------------------
mtr.install | 18 ++++----
2 files changed, 71 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-24 19:52:21 UTC (rev 438093)
+++ PKGBUILD 2022-02-24 19:52:25 UTC (rev 438094)
@@ -1,61 +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.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:
Copied: mtr/repos/extra-x86_64/PKGBUILD (from rev 438093, mtr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-24 19:52:25 UTC (rev 438094)
@@ -0,0 +1,62 @@
+# 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.95
+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' 'gdk-pixbuf2')
+install=mtr.install
+source=(https://github.com/traviscross/mtr/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a7d69e0c551a10ae80a650a34588119e6c6b124a8c2c93d3de29e5daa6ef99f9217d875529d443c3760cd6fd7bd04d1e9abe33ef12635826c66a98bd776c1690')
+b2sums=('3c972675b97945b96562802c5d0f10de963160682c93c0ea2991b72eca33d136d18948c5e746ca3dfb280ebc9c3ab154e7774f8409ed4e5f7470a8feb128e71b')
+
+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' libncursesw.so)
+ 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' 'gdk-pixbuf2'
+ libgtk-x11-2.0.so libgdk_pixbuf-2.0.so libgobject-2.0.so libglib-2.0.so libncursesw.so)
+ 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 2022-02-24 19:52:21 UTC (rev 438093)
+++ mtr.install 2022-02-24 19:52:25 UTC (rev 438094)
@@ -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 438093, mtr/trunk/mtr.install)
===================================================================
--- mtr.install (rev 0)
+++ mtr.install 2022-02-24 19:52:25 UTC (rev 438094)
@@ -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