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

David Runge dvzrv at archlinux.org
Fri Jan 8 19:28:37 UTC 2021


    Date: Friday, January 8, 2021 @ 19:28:36
  Author: dvzrv
Revision: 405746

archrelease: copy trunk to testing-x86_64

Added:
  tcpdump/repos/testing-x86_64/
  tcpdump/repos/testing-x86_64/PKGBUILD
    (from rev 405745, tcpdump/trunk/PKGBUILD)

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

Copied: tcpdump/repos/testing-x86_64/PKGBUILD (from rev 405745, tcpdump/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-01-08 19:28:36 UTC (rev 405746)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=tcpdump
+pkgver=4.99.0
+pkgrel=1
+pkgdesc='Powerful command-line packet analyzer'
+url="https://www.tcpdump.org/"
+arch=('x86_64')
+license=('BSD')
+depends=('glibc' 'openssl')
+makedepends=('cmake' 'libpcap' 'libcap-ng')
+source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('03a434ec41c0026f237bc1e7a928b7ce67dbc342a8d982caded93d987bd356faf706a9d884231bd94f5e2a8580499fe95a28728e37a6672e371a1501ec5d6f79'
+            'SKIP')
+b2sums=('389939ea501edf66b7bb809c835feffebf15f30fbba559ce40963733a79ca271982336884acd7ff3d078decb1aaea0616d98091199918b520ef3d1fe0f194431'
+        'SKIP')
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group (Package signing key) <release at tcpdump.org>
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE='None' \
+        -Wno-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make VERBOSE=1 check -C build
+}
+
+package() {
+  depends+=('libpcap.so' 'libcap-ng.so')
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C build
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list