Date: Monday, January 2, 2023 @ 12:57:54
  Author: dvzrv
Revision: 465146

archrelease: copy trunk to testing-x86_64

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

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

Copied: tcpdump/repos/testing-x86_64/PKGBUILD (from rev 465145, 
tcpdump/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2023-01-02 12:57:54 UTC (rev 465146)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
+# Contributor: Giovanni Scafora <[email protected]>
+# Contributor: dorphell <[email protected]>
+
+pkgname=tcpdump
+pkgver=4.99.2
+pkgrel=1
+pkgdesc='Powerful command-line packet analyzer'
+url="https://www.tcpdump.org/";
+arch=(x86_64)
+license=(BSD)
+depends=(glibc)
+makedepends=(cmake libpcap libcap-ng openssl)
+options=(debug)
+source=(https://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz{,.sig})
+sha512sums=('7986e7517441872d4461da23dc546c01e23449108974458a4e5e493db6f066f9e7da801623a6c43cfa2079ac3d409f813d1ffde2ecc12b6dba661dae0693b735'
+            'SKIP')
+b2sums=('be13fbf493478270c8ebc034a3c1467907a008ce2ed9632a87b7d7b9104b9fda248cd535da7313a1c3d57ca21f324c25593812590b96ec334c474d1ce06f3fd5'
+        'SKIP')
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group 
(Package signing key) <[email protected]>
+
+build() {
+  local cmake_options=(
+    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_BUILD_TYPE=None
+    -Wno-dev
+    -B build
+    -S $pkgname-$pkgver
+  )
+
+  cmake "${cmake_options[@]}"
+  make VERBOSE=1 -C build
+}
+
+check() {
+  make VERBOSE=1 check -C build
+}
+
+package() {
+  depends+=(
+    libpcap libpcap.so
+    libcap-ng libcap-ng.so
+    openssl libcrypto.so
+  )
+
+  make DESTDIR="$pkgdir" install -C build
+  install -vDm 644 $pkgname-$pkgver/LICENSE -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+}

Reply via email to