summaryrefslogtreecommitdiff
path: root/extra/wireshark/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-24 11:27:18 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-24 11:27:18 -0300
commita3ba265c32b1de731745e1abc812f5d21bcd6aaf (patch)
treee1302d14a6a73b6a674d2389d6427acb6b9ea870 /extra/wireshark/PKGBUILD
parent2792638784d70e22bfff1827f7e283c3158e58cf (diff)
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/gtranslator/PKGBUILD community-testing/gtranslator/gtranslator.changelog extra/emelfm2/PKGBUILD extra/wireshark/PKGBUILD extra/xfce4-diskperf-plugin/PKGBUILD extra/xfce4-mount-plugin/PKGBUILD extra/xfce4-wavelan-plugin/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-openssl/PKGBUILD testing/anjuta-extras/PKGBUILD testing/anjuta/PKGBUILD testing/gdl/PKGBUILD testing/lv2/PKGBUILD
Diffstat (limited to 'extra/wireshark/PKGBUILD')
-rw-r--r--extra/wireshark/PKGBUILD28
1 files changed, 11 insertions, 17 deletions
diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD
index cc46ffee0..8159e9582 100644
--- a/extra/wireshark/PKGBUILD
+++ b/extra/wireshark/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 156497 2012-04-19 21:01:40Z guillaume $
+# $Id: PKGBUILD 156655 2012-04-22 13:28:46Z guillaume $
# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
# Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
-pkgname=('wireshark-cli' 'wireshark-gtk' 'wireshark-dev')
+pkgname=('wireshark-cli' 'wireshark-gtk')
pkgbase=wireshark
pkgver=1.6.7
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls' 'libgcrypt' 'lua')
@@ -38,6 +38,14 @@ package_wireshark-cli() {
chgrp 150 "${pkgdir}/usr/bin/dumpcap"
chmod 754 "${pkgdir}/usr/bin/dumpcap"
rm "${pkgdir}/usr/bin/wireshark"
+
+ # Headers
+ 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
}
package_wireshark-gtk() {
@@ -55,17 +63,3 @@ package_wireshark-gtk() {
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
-}