[arch-commits] Commit in wireshark/trunk (PKGBUILD)

Guillaume Alaux guillaume at archlinux.org
Thu Apr 19 17:00:58 EDT 2012


    Date: Thursday, April 19, 2012 @ 17:00:58
  Author: guillaume
Revision: 156496

upgpkg: wireshark 1.6.7-1

Upstream release + added wireshark-dev

Modified:
  wireshark/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-19 20:31:39 UTC (rev 156495)
+++ PKGBUILD	2012-04-19 21:00:58 UTC (rev 156496)
@@ -1,9 +1,9 @@
 # $Id$
-# Maintainer: Guillaume ALAUX <guillaume at alaux dot net>
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
 # Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
-pkgname=(wireshark-cli wireshark-gtk)
+pkgname=('wireshark-cli' 'wireshark-gtk' 'wireshark-dev')
 pkgbase=wireshark
-pkgver=1.6.6
+pkgver=1.6.7
 pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -11,7 +11,7 @@
 url="http://www.wireshark.org/"
 options=(!libtool)
 source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2)
-md5sums=('61145ccd7684b3cfb159fc902fedfecf')
+md5sums=('7e39f1c0ea4abd8bffa5122df800ca5d')
 
 build() {
   cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -55,3 +55,17 @@
   done
   install -Dm644 wireshark.desktop "${pkgdir}/usr/share/applications/wireshark.desktop"
 }
+
+package_wireshark-dev() {
+  pkgdesc="A free network protocol analyzer for Unix/Linux and Windows - header files"
+  depends=('wireshark-cli')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+
+  install -dm755 ${pkgdir}/usr/include/${pkgbase}/{epan/{crypt,dfilter,dissectors,ftypes},wiretap,wsutil}
+
+  install -m644 color.h config.h register.h "${pkgdir}/usr/include/${pkgbase}"
+  for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes wiretap wsutil; do
+    install -m644 ${d}/*.h ${pkgdir}/usr/include/${pkgbase}/${d}
+  done
+}



More information about the arch-commits mailing list