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

Thomas Bächler thomas at nymeria.archlinux.org
Tue Nov 26 22:30:48 UTC 2013


    Date: Tuesday, November 26, 2013 @ 23:30:48
  Author: thomas
Revision: 200348

upgpkg: libpcap 1.5.1-1

Modified:
  libpcap/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-26 22:12:15 UTC (rev 200347)
+++ PKGBUILD	2013-11-26 22:30:48 UTC (rev 200348)
@@ -2,7 +2,7 @@
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
 
 pkgname=libpcap
-pkgver=1.4.0
+pkgver=1.5.1
 pkgrel=1
 pkgdesc="A system-independent interface for user-level packet capture"
 arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
 depends=('glibc' 'libnl' 'sh' 'libusbx')
 makedepends=('flex')
 source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig})
-sha256sums=('7c6a2a4f71e8ab09804e6b4fb3aff998c5583108ac42c0e2967eee8e1dbc7406'
+sha256sums=('259db4fe1e9f0b6b9c43a057ec5916dec7d0a821b00d6d6c4dff7db2445fa7e4'
             'SKIP')
 
 build() {
@@ -24,8 +24,6 @@
   cd ${srcdir}/${pkgname}-${pkgver}
   install -d -m755 ${pkgdir}/usr/bin
   make DESTDIR=${pkgdir} install
-  # remove static library
-  rm -rf ${pkgdir}/usr/lib/libpcap.a
   
   # backwards compatibility, programs often look for net/bpf.h
   mkdir -p ${pkgdir}/usr/include/net
@@ -32,6 +30,6 @@
   cd ${pkgdir}/usr/include/net
   ln -s ../pcap-bpf.h bpf.h
 
-  #install the license
+  # install the license
   install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
 }




More information about the arch-commits mailing list