[arch-commits] Commit in wireshark/repos (5 files)

2018-12-03 Thread Anatol Pomozov via arch-commits
Date: Monday, December 3, 2018 @ 22:20:35
  Author: anatolik
Revision: 411008

archrelease: copy trunk to community-testing-x86_64

Added:
  wireshark/repos/community-testing-x86_64/
  wireshark/repos/community-testing-x86_64/PKGBUILD
(from rev 411007, wireshark/trunk/PKGBUILD)
  wireshark/repos/community-testing-x86_64/do_not_use_svn_version.patch
(from rev 411007, wireshark/trunk/do_not_use_svn_version.patch)
  wireshark/repos/community-testing-x86_64/wireshark.install
(from rev 411007, wireshark/trunk/wireshark.install)
  wireshark/repos/community-testing-x86_64/wireshark.sysusers
(from rev 411007, wireshark/trunk/wireshark.sysusers)

--+
 PKGBUILD |  102 +
 do_not_use_svn_version.patch |   13 +
 wireshark.install|8 +++
 wireshark.sysusers   |1 
 4 files changed, 124 insertions(+)

Copied: wireshark/repos/community-testing-x86_64/PKGBUILD (from rev 411007, 
wireshark/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-12-03 22:20:35 UTC (rev 411008)
@@ -0,0 +1,102 @@
+# Maintainer: Levente Polyak 
+# Contributor: Timothy Redaelli 
+# Contributor: Guillaume ALAUX 
+# Contributor: Florian Pritz 
+
+pkgbase=wireshark
+pkgname=('wireshark-cli' 'wireshark-common' 'wireshark-gtk' 'wireshark-qt')
+pkgver=2.6.5
+pkgrel=1
+pkgdesc='Network traffic and protocol analyzer/sniffer'
+url='https://www.wireshark.org/'
+arch=('x86_64')
+license=('GPL2')
+makedepends=('c-ares' 'libmaxminddb' 'qt5-tools' 'qt5-multimedia' 'gtk3' 
'krb5' 'libpcap' 'bash' 'libssh'
+ 'gnutls' 'portaudio' 'lua52' 'python' 'desktop-file-utils' 
'hicolor-icon-theme')
+options=('!emptydirs')
+source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz
+wireshark.sysusers
+do_not_use_svn_version.patch)
+sha512sums=('fed2d08bb0ba06496c22a5d45946faf2ff4ca19c59faf758c668c583193faeec3c4379b64750478469fede91562891e9b6991591a09a3da8d2193cb64718d02f'
+
'3956c1226e64f0ce4df463f80b55b15eed06ecd9b8703b3e8309d4236a6e1ca84e43007336f3987bc862d8a5e7cfcaaf6653125d2a34999a0f1357c52e7c4990'
+
'847eac73c789b02f57f0ec378d086aea5a103cf0c6525c227d168ad67db08703686d4df37ed2ac95f47125cfcd5cafd472e2988f7f743428b291dc2aebe0f435')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  # Avoid ugly "svn rev unknown from unknown" version string
+  patch -p1 < "${srcdir}/do_not_use_svn_version.patch"
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./autogen.sh
+  ./configure \
+  --prefix=/usr \
+  --with-qt=5 \
+  --with-gtk=3 \
+  --with-pcap \
+  --with-zlib \
+  --with-lua \
+  --with-portaudio \
+  --with-ssl \
+  --with-krb5 \
+  --with-c-ares \
+  --with-maxmind
+  make all
+}
+
+package_wireshark-cli() {
+  pkgdesc+=' - CLI version'
+  depends=('c-ares' 'libmaxminddb' 'krb5' 'libgcrypt' 'libcap' 'libpcap' 
'gnutls' 'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2')
+  install=wireshark.install
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" uninstall-local
+
+  # wireshark uid group is 150
+  install -Dm644 "${srcdir}/wireshark.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/wireshark.conf"
+  chgrp 150 "${pkgdir}/usr/bin/dumpcap"
+  chmod 754 "${pkgdir}/usr/bin/dumpcap"
+  rm "${pkgdir}/usr/bin/wireshark" "${pkgdir}/usr/bin/wireshark-gtk"
+
+  # headers
+  install -Dm 644 *.h -t "${pkgdir}/usr/include/${pkgbase}"
+  for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem 
wiretap wsutil; do
+install -Dm 644 ${d}/*.h -t "${pkgdir}/usr/include/${pkgbase}/${d}"
+  done
+}
+
+package_wireshark-common() {
+  pkgdesc+=' - common files'
+  depends=('hicolor-icon-theme' 'shared-mime-info' 'xdg-utils')
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install-data-local
+  rm "${pkgdir}"/usr/share/applications/wireshark{,-gtk}.desktop
+}
+
+package_wireshark-gtk() {
+  pkgdesc+=' - GTK frontend'
+  depends=('desktop-file-utils' 'gtk3' 'portaudio' 'wireshark-cli' 
'wireshark-common')
+  replaces=(wireshark)
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark-gtk "${pkgdir}/usr/bin/wireshark-gtk"
+  install -Dm 644 wireshark-gtk.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+package_wireshark-qt() {
+  pkgdesc+=' - Qt frontend'
+  depends=('desktop-file-utils' 'qt5-multimedia' 'wireshark-cli' 
'wireshark-common')
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark "${pkgdir}/usr/bin/wireshark"
+  install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+# vim: ts=2 sw=2 et:

Copied: wireshark/repos/community-testing-x86_64/do_not_use_svn_version.patch 
(from rev 411007, wireshark/trunk/do_not_use_svn_version.patch)

[arch-commits] Commit in wireshark/repos (5 files)

2018-07-19 Thread Anatol Pomozov via arch-commits
Date: Thursday, July 19, 2018 @ 20:11:43
  Author: anatolik
Revision: 362448

archrelease: copy trunk to community-testing-x86_64

Added:
  wireshark/repos/community-testing-x86_64/
  wireshark/repos/community-testing-x86_64/PKGBUILD
(from rev 362447, wireshark/trunk/PKGBUILD)
  wireshark/repos/community-testing-x86_64/do_not_use_svn_version.patch
(from rev 362447, wireshark/trunk/do_not_use_svn_version.patch)
  wireshark/repos/community-testing-x86_64/wireshark.install
(from rev 362447, wireshark/trunk/wireshark.install)
  wireshark/repos/community-testing-x86_64/wireshark.sysusers
(from rev 362447, wireshark/trunk/wireshark.sysusers)

--+
 PKGBUILD |  101 +
 do_not_use_svn_version.patch |   13 +
 wireshark.install|8 +++
 wireshark.sysusers   |1 
 4 files changed, 123 insertions(+)

Copied: wireshark/repos/community-testing-x86_64/PKGBUILD (from rev 362447, 
wireshark/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-07-19 20:11:43 UTC (rev 362448)
@@ -0,0 +1,101 @@
+# Maintainer: Levente Polyak 
+# Contributor: Timothy Redaelli 
+# Contributor: Guillaume ALAUX 
+# Contributor: Florian Pritz 
+
+pkgname=('wireshark-cli' 'wireshark-common' 'wireshark-gtk' 'wireshark-qt')
+pkgbase=wireshark
+pkgver=2.6.2
+pkgrel=1
+arch=('x86_64')
+license=('GPL2')
+makedepends=('c-ares' 'geoip' 'qt5-tools' 'qt5-multimedia' 'gtk3' 'krb5' 
'libpcap' 'bash' 'libssh'
+ 'gnutls' 'portaudio' 'lua52' 'python' 'desktop-file-utils' 
'hicolor-icon-theme')
+options=('!emptydirs')
+url='https://www.wireshark.org/'
+source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz
+wireshark.sysusers
+do_not_use_svn_version.patch)
+sha256sums=('49b2895ee3ba17ef9ef0aebfdc4d32a778e0f36ccadde184516557d5f3357094'
+'df07748152443c7d727bd51cd57af950c345b7141986b4f0e476cd6aa3623ac4'
+'3981bb46f592e319f9c679c5e215ae0af828044a3b64d49d2cf0305ecacf4691')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  # Avoid ugly "svn rev unknown from unknown" version string
+  patch -p1 < "${srcdir}/do_not_use_svn_version.patch"
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./autogen.sh
+  ./configure \
+  --prefix=/usr \
+  --with-qt=5 \
+  --with-gtk=3 \
+  --with-pcap \
+  --with-zlib \
+  --with-lua \
+  --with-portaudio \
+  --with-ssl \
+  --with-krb5 \
+  --with-c-ares \
+  --with-geoip
+  make all
+}
+
+package_wireshark-cli() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - CLI 
version'
+  depends=('c-ares' 'geoip' 'krb5' 'libgcrypt' 'libcap' 'libpcap' 'gnutls' 
'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2')
+  install=wireshark.install
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" uninstall-local
+
+  # wireshark uid group is 150
+  install -Dm644 "${srcdir}/wireshark.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/wireshark.conf"
+  chgrp 150 "${pkgdir}/usr/bin/dumpcap"
+  chmod 754 "${pkgdir}/usr/bin/dumpcap"
+  rm "${pkgdir}/usr/bin/wireshark" "${pkgdir}/usr/bin/wireshark-gtk"
+
+  # headers
+  install -Dm 644 *.h -t "${pkgdir}/usr/include/${pkgbase}"
+  for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem 
wiretap wsutil; do
+install -Dm 644 ${d}/*.h -t "${pkgdir}/usr/include/${pkgbase}/${d}"
+  done
+}
+
+package_wireshark-common() {
+  pkgdesc='Common files used by wireshark-gtk and wireshark-qt'
+  depends=('hicolor-icon-theme' 'shared-mime-info' 'xdg-utils')
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install-data-local
+  rm "${pkgdir}"/usr/share/applications/wireshark{,-gtk}.desktop
+}
+
+package_wireshark-gtk() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - GTK 
frontend'
+  depends=('desktop-file-utils' 'gtk3' 'portaudio' 'wireshark-cli' 
'wireshark-common')
+  replaces=(wireshark)
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark-gtk "${pkgdir}/usr/bin/wireshark-gtk"
+  install -Dm 644 wireshark-gtk.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+package_wireshark-qt() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - Qt 
frontend'
+  depends=('desktop-file-utils' 'qt5-multimedia' 'wireshark-cli' 
'wireshark-common')
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark "${pkgdir}/usr/bin/wireshark"
+  install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+# vim: ts=2 sw=2 et:

Copied: wireshark/repos/community-testing-x86_64/do_not_use_svn_version.patch 
(from rev 362447, wireshark/trunk/do_not_use_svn_version.patch)
===

[arch-commits] Commit in wireshark/repos (5 files)

2018-05-22 Thread Anatol Pomozov via arch-commits
Date: Tuesday, May 22, 2018 @ 22:42:15
  Author: anatolik
Revision: 327783

archrelease: copy trunk to community-testing-x86_64

Added:
  wireshark/repos/community-testing-x86_64/
  wireshark/repos/community-testing-x86_64/PKGBUILD
(from rev 327781, wireshark/trunk/PKGBUILD)
  wireshark/repos/community-testing-x86_64/do_not_use_svn_version.patch
(from rev 327781, wireshark/trunk/do_not_use_svn_version.patch)
  wireshark/repos/community-testing-x86_64/wireshark.install
(from rev 327781, wireshark/trunk/wireshark.install)
  wireshark/repos/community-testing-x86_64/wireshark.sysusers
(from rev 327781, wireshark/trunk/wireshark.sysusers)

--+
 PKGBUILD |  101 +
 do_not_use_svn_version.patch |   13 +
 wireshark.install|8 +++
 wireshark.sysusers   |1 
 4 files changed, 123 insertions(+)

Copied: wireshark/repos/community-testing-x86_64/PKGBUILD (from rev 327781, 
wireshark/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-05-22 22:42:15 UTC (rev 327783)
@@ -0,0 +1,101 @@
+# Maintainer: Levente Polyak 
+# Contributor: Timothy Redaelli 
+# Contributor: Guillaume ALAUX 
+# Contributor: Florian Pritz 
+
+pkgname=('wireshark-cli' 'wireshark-common' 'wireshark-gtk' 'wireshark-qt')
+pkgbase=wireshark
+pkgver=2.6.1
+pkgrel=1
+arch=('x86_64')
+license=('GPL2')
+makedepends=('c-ares' 'geoip' 'qt5-tools' 'qt5-multimedia' 'gtk3' 'krb5' 
'libpcap' 'bash' 'libssh'
+ 'gnutls' 'portaudio' 'lua52' 'python' 'desktop-file-utils' 
'hicolor-icon-theme')
+options=('!emptydirs')
+url='https://www.wireshark.org/'
+source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz
+wireshark.sysusers
+do_not_use_svn_version.patch)
+sha256sums=('ab6e5bbc3464c956347b8671ce8397950ad5daff3bf9964c967d495f4ddbcd88'
+'df07748152443c7d727bd51cd57af950c345b7141986b4f0e476cd6aa3623ac4'
+'3981bb46f592e319f9c679c5e215ae0af828044a3b64d49d2cf0305ecacf4691')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  # Avoid ugly "svn rev unknown from unknown" version string
+  patch -p1 < "${srcdir}/do_not_use_svn_version.patch"
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./autogen.sh
+  ./configure \
+  --prefix=/usr \
+  --with-qt=5 \
+  --with-gtk=3 \
+  --with-pcap \
+  --with-zlib \
+  --with-lua \
+  --with-portaudio \
+  --with-ssl \
+  --with-krb5 \
+  --with-c-ares \
+  --with-geoip
+  make all
+}
+
+package_wireshark-cli() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - CLI 
version'
+  depends=('c-ares' 'geoip' 'krb5' 'libgcrypt' 'libcap' 'libpcap' 'gnutls' 
'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2')
+  install=wireshark.install
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" uninstall-local
+
+  # wireshark uid group is 150
+  install -Dm644 "${srcdir}/wireshark.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/wireshark.conf"
+  chgrp 150 "${pkgdir}/usr/bin/dumpcap"
+  chmod 754 "${pkgdir}/usr/bin/dumpcap"
+  rm "${pkgdir}/usr/bin/wireshark" "${pkgdir}/usr/bin/wireshark-gtk"
+
+  # headers
+  install -Dm 644 *.h -t "${pkgdir}/usr/include/${pkgbase}"
+  for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem 
wiretap wsutil; do
+install -Dm 644 ${d}/*.h -t "${pkgdir}/usr/include/${pkgbase}/${d}"
+  done
+}
+
+package_wireshark-common() {
+  pkgdesc='Common files used by wireshark-gtk and wireshark-qt'
+  depends=('hicolor-icon-theme' 'shared-mime-info' 'xdg-utils')
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install-data-local
+  rm "${pkgdir}"/usr/share/applications/wireshark{,-gtk}.desktop
+}
+
+package_wireshark-gtk() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - GTK 
frontend'
+  depends=('desktop-file-utils' 'gtk3' 'portaudio' 'wireshark-cli' 
'wireshark-common')
+  replaces=(wireshark)
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark-gtk "${pkgdir}/usr/bin/wireshark-gtk"
+  install -Dm 644 wireshark-gtk.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+package_wireshark-qt() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - Qt 
frontend'
+  depends=('desktop-file-utils' 'qt5-multimedia' 'wireshark-cli' 
'wireshark-common')
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark "${pkgdir}/usr/bin/wireshark"
+  install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+# vim: ts=2 sw=2 et:

Copied: wireshark/repos/community-testing-x86_64/do_not_use_svn_version.patch 
(from rev 327781, 

[arch-commits] Commit in wireshark/repos (5 files)

2018-01-13 Thread Anatol Pomozov via arch-commits
Date: Sunday, January 14, 2018 @ 06:20:13
  Author: anatolik
Revision: 281874

archrelease: copy trunk to community-testing-x86_64

Added:
  wireshark/repos/community-testing-x86_64/
  wireshark/repos/community-testing-x86_64/PKGBUILD
(from rev 281873, wireshark/trunk/PKGBUILD)
  wireshark/repos/community-testing-x86_64/do_not_use_svn_version.patch
(from rev 281873, wireshark/trunk/do_not_use_svn_version.patch)
  wireshark/repos/community-testing-x86_64/wireshark.install
(from rev 281873, wireshark/trunk/wireshark.install)
  wireshark/repos/community-testing-x86_64/wireshark.sysusers
(from rev 281873, wireshark/trunk/wireshark.sysusers)

--+
 PKGBUILD |  103 +
 do_not_use_svn_version.patch |   13 +
 wireshark.install|8 +++
 wireshark.sysusers   |1 
 4 files changed, 125 insertions(+)

Copied: wireshark/repos/community-testing-x86_64/PKGBUILD (from rev 281873, 
wireshark/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-01-14 06:20:13 UTC (rev 281874)
@@ -0,0 +1,103 @@
+# Maintainer: Levente Polyak 
+# Contributor: Timothy Redaelli 
+# Contributor: Guillaume ALAUX 
+# Contributor: Florian Pritz 
+
+pkgname=('wireshark-cli' 'wireshark-common' 'wireshark-gtk' 'wireshark-qt')
+pkgbase=wireshark
+pkgver=2.4.4
+pkgrel=1
+arch=('x86_64')
+license=('GPL2')
+makedepends=('c-ares' 'geoip' 'qt5-tools' 'qt5-multimedia' 'gtk3' 'krb5' 
'libpcap' 'bash' 'libssh'
+ 'gnutls' 'portaudio' 'lua52' 'python' 'desktop-file-utils' 
'hicolor-icon-theme')
+options=('!emptydirs')
+url='https://www.wireshark.org/'
+source=(https://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.xz
+wireshark.sysusers
+do_not_use_svn_version.patch)
+sha256sums=('049a758e39422dcd536d7f75cebbfaa44e4f305d602bf22964d6459821126f58'
+'df07748152443c7d727bd51cd57af950c345b7141986b4f0e476cd6aa3623ac4'
+'3981bb46f592e319f9c679c5e215ae0af828044a3b64d49d2cf0305ecacf4691')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+
+  # Avoid ugly "svn rev unknown from unknown" version string
+  patch -p1 < "${srcdir}/do_not_use_svn_version.patch"
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+
+  ./autogen.sh
+  ./configure \
+  --prefix=/usr \
+  --with-qt=5 \
+  --with-gtk=3 \
+  --with-pcap \
+  --with-zlib \
+  --with-lua \
+  --with-portaudio \
+  --with-ssl \
+  --with-krb5 \
+  --with-c-ares \
+  --with-geoip
+  make all
+}
+
+package_wireshark-cli() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - CLI 
version'
+  depends=('c-ares' 'geoip' 'krb5' 'libgcrypt' 'libcap' 'libpcap' 'gnutls' 
'glib2' 'lua52' 'libssh' 'libxml2' 'libnghttp2')
+  install=wireshark.install
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" uninstall-local
+
+  # wireshark uid group is 150
+  install -Dm644 "${srcdir}/wireshark.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/wireshark.conf"
+  chgrp 150 "${pkgdir}/usr/bin/dumpcap"
+  chmod 754 "${pkgdir}/usr/bin/dumpcap"
+  rm "${pkgdir}/usr/bin/wireshark" "${pkgdir}/usr/bin/wireshark-gtk"
+
+  # headers
+  install -Dm 644 config.h register.h ws_diag_control.h ws_symbol_export.h -t 
"${pkgdir}/usr/include/${pkgbase}"
+  for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem 
wiretap wsutil; do
+install -Dm 644 ${d}/*.h -t "${pkgdir}/usr/include/${pkgbase}/${d}"
+  done
+}
+
+package_wireshark-common() {
+  pkgdesc='Common files used by wireshark-gtk and wireshark-qt'
+  depends=('hicolor-icon-theme' 'shared-mime-info' 'xdg-utils')
+
+  cd ${pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install-data-local
+  rm "${pkgdir}"/usr/share/applications/wireshark{,-gtk}.desktop
+}
+
+package_wireshark-gtk() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - GTK 
frontend'
+  depends=('desktop-file-utils' 'gtk3' 'portaudio' 'wireshark-cli' 
'wireshark-common')
+  replaces=(wireshark)
+  conflicts=(wireshark)
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark-gtk "${pkgdir}/usr/bin/wireshark-gtk"
+  install -Dm 644 wireshark-gtk.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+package_wireshark-qt() {
+  pkgdesc='a free network protocol analyzer for Unix/Linux and Windows - Qt 
frontend'
+  depends=('desktop-file-utils' 'qt5-multimedia' 'wireshark-cli' 
'wireshark-common')
+
+  cd ${pkgbase}-${pkgver}
+  install -Dm 755 .libs/wireshark "${pkgdir}/usr/bin/wireshark"
+  install -Dm 644 wireshark.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+# vim: ts=2 sw=2 et:

Copied: