summaryrefslogtreecommitdiff
path: root/core/libpcap
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /core/libpcap
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'core/libpcap')
-rw-r--r--core/libpcap/PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/core/libpcap/PKGBUILD b/core/libpcap/PKGBUILD
index 2e200ea46..4a6ce828c 100644
--- a/core/libpcap/PKGBUILD
+++ b/core/libpcap/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 185218 2013-05-12 09:08:12Z thomas $
+# $Id: PKGBUILD 200644 2013-11-30 17:42:00Z thomas $
# Maintainer: Thomas Bächler <thomas@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 @@ license=('BSD')
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,14 +24,12 @@ package() {
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
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
}