[arch-commits] Commit in libpcap/repos (testing-x86_64 testing-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Oct 16 22:47:35 UTC 2020
Date: Friday, October 16, 2020 @ 22:47:34
Author: dvzrv
Revision: 398466
archrelease: copy trunk to testing-x86_64
Added:
libpcap/repos/testing-x86_64/
libpcap/repos/testing-x86_64/PKGBUILD
(from rev 398465, libpcap/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: libpcap/repos/testing-x86_64/PKGBUILD (from rev 398465, libpcap/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-10-16 22:47:34 UTC (rev 398466)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at mirantis.com>
+# Contributor: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=libpcap
+pkgver=1.9.1
+pkgrel=3
+pkgdesc='A system-independent interface for user-level packet capture'
+arch=('x86_64')
+url='https://www.tcpdump.org/'
+license=('BSD')
+depends=('glibc' 'libnl' 'sh')
+makedepends=('bluez-libs' 'dbus')
+source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('ae0d6b0ad8253e7e059336c0f4ed3850d20d7d2f4dc1d942c2951f99a5443a690f0cc42c6f8fdc4a0ccb19e9e985192ba6f399c4bde2c7076e420f547fddfb08'
+ 'SKIP')
+b2sums=('c217f7080c9f570e1ce7c54359cbf50b6be54658187a78789a8235a61091de6b488c6ef3eb65eae6f3196ce9f5b059e30bb69cbb6ee87abe1c46906e35ff8ca4'
+ 'SKIP')
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ autoreconf -vfi
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix='/usr' \
+ --enable-ipv6 \
+ --enable-bluetooth \
+ --enable-usb \
+ --with-libnl
+ make
+}
+
+package() {
+ depends+=('libdbus-1.so')
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
More information about the arch-commits
mailing list