[arch-commits] Commit in libpcap/repos (testing-x86_64 testing-x86_64/PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Jun 10 10:44:24 UTC 2021


    Date: Thursday, June 10, 2021 @ 10:44:24
  Author: dvzrv
Revision: 417876

archrelease: copy trunk to testing-x86_64

Added:
  libpcap/repos/testing-x86_64/
  libpcap/repos/testing-x86_64/PKGBUILD
    (from rev 417875, libpcap/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: libpcap/repos/testing-x86_64/PKGBUILD (from rev 417875, libpcap/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-06-10 10:44:24 UTC (rev 417876)
@@ -0,0 +1,44 @@
+# 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.10.1
+pkgrel=1
+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')
+provides=('libpcap.so')
+source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('56c314f19c2b857742bf8abcb1e78066986aaa95cec339b75a3c8b70a9fa2b5167da98708352f9ec97a1cea2700cfb4e040bda108d58ac46cec9b7deab88d171'
+            'SKIP')
+b2sums=('0ec028e5d026a97b92ba6f23f88daf36b827eee08a752a0162fbabd1b5a2a70141ec403b6ff26dc3eb25ca5c6630c9c2f60f05b33161770da3d5e829c4eecdc6'
+        'SKIP')
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -fiv
+}
+
+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