Date: Saturday, May 16, 2020 @ 13:02:42
  Author: foutrelis
Revision: 384603

archrelease: copy trunk to staging-x86_64

Added:
  tcpdump/repos/staging-x86_64/
  tcpdump/repos/staging-x86_64/PKGBUILD
    (from rev 384602, tcpdump/trunk/PKGBUILD)

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

Copied: tcpdump/repos/staging-x86_64/PKGBUILD (from rev 384602, 
tcpdump/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2020-05-16 13:02:42 UTC (rev 384603)
@@ -0,0 +1,38 @@
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor: Giovanni Scafora <[email protected]>
+# Contributor: dorphell <[email protected]>
+
+pkgname=tcpdump
+pkgver=4.9.3
+pkgrel=2
+pkgdesc='Powerful command-line packet analyzer'
+url='https://www.tcpdump.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('libpcap' 'libcap-ng' 'openssl')
+source=("https://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
+#source=("https://sources.archlinux.org/other/packages/tcpdump/${pkgname}-${pkgver}.tar.gz"{,.sig})
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')
+sha256sums=('2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410'
+            'SKIP')
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure \
+               --prefix=/usr \
+               --sbindir=/usr/bin \
+
+       make
+}
+
+check() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make check
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+       install -D -m644 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+       rm -f "${pkgdir}"/usr/bin/tcpdump.${pkgver}
+}

Reply via email to