Date: Tuesday, March 27, 2012 @ 17:06:00
  Author: guillaume
Revision: 154402

upgpkg: wireshark 1.6.6-1

Upstream release

Modified:
  wireshark/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2012-03-27 20:04:10 UTC (rev 154401)
+++ PKGBUILD    2012-03-27 21:06:00 UTC (rev 154402)
@@ -3,18 +3,18 @@
 # Contributor: Florian Pritz <bluewind at jabber dot ccc dot de>
 pkgname=(wireshark-cli wireshark-gtk)
 pkgbase=wireshark
-pkgver=1.6.5
+pkgver=1.6.6
 pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls' 
'libgcrypt' 'lua')
 url="http://www.wireshark.org/";
 options=(!libtool)
-source=(http://www.wireshark.org/download/src/$pkgbase-$pkgver.tar.bz2)
-md5sums=('794948a10d387fc8e37d824ea11dbac9')
+source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2)
+md5sums=('61145ccd7684b3cfb159fc902fedfecf')
 
 build() {
-  cd "$srcdir/$pkgbase-$pkgver"
+  cd "${srcdir}/${pkgbase}-${pkgver}"
 
   ./configure \
       --prefix=/usr \
@@ -30,14 +30,14 @@
   install=wireshark.install
   conflicts=(wireshark)
 
-  cd "$srcdir/$pkgbase-$pkgver"
+  cd "${srcdir}/${pkgbase}-${pkgver}"
 
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="${pkgdir}" install
 
   #wireshark uid group is 150
-  chgrp 150 "$pkgdir/usr/bin/dumpcap"
-  chmod 754 "$pkgdir/usr/bin/dumpcap"
-  rm "$pkgdir/usr/bin/wireshark"
+  chgrp 150 "${pkgdir}/usr/bin/dumpcap"
+  chmod 754 "${pkgdir}/usr/bin/dumpcap"
+  rm "${pkgdir}/usr/bin/wireshark"
 }
 
 package_wireshark-gtk() {
@@ -47,11 +47,11 @@
   replaces=(wireshark)
   conflicts=(wireshark)
 
-  cd "$srcdir/$pkgbase-$pkgver"
+  cd "${srcdir}/${pkgbase}-${pkgver}"
 
-  install -Dm755 .libs/wireshark "$pkgdir/usr/bin/wireshark"
+  install -Dm755 .libs/wireshark "${pkgdir}/usr/bin/wireshark"
   for d in 16 32 48; do
-      install -Dm644 image/hi${d}-app-wireshark.png 
"$pkgdir/usr/share/icons/hicolor/${d}x${d}/apps/wireshark.png"
+      install -Dm644 image/hi${d}-app-wireshark.png 
"${pkgdir}/usr/share/icons/hicolor/${d}x${d}/apps/wireshark.png"
   done
-  install -Dm644 wireshark.desktop 
"$pkgdir/usr/share/applications/wireshark.desktop"
+  install -Dm644 wireshark.desktop 
"${pkgdir}/usr/share/applications/wireshark.desktop"
 }

Reply via email to