[arch-commits] Commit in tcpdump/trunk (PKGBUILD.next)
Gaëtan Bisson
bisson at archlinux.org
Tue Sep 5 16:27:05 UTC 2017
Date: Tuesday, September 5, 2017 @ 16:27:04
Author: bisson
Revision: 304698
prepare bikeshedding
Added:
tcpdump/trunk/PKGBUILD.next
---------------+
PKGBUILD.next | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: PKGBUILD.next
===================================================================
--- PKGBUILD.next (rev 0)
+++ PKGBUILD.next 2017-09-05 16:27:04 UTC (rev 304698)
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 301192 2017-07-23 23:32:46Z bisson $
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=tcpdump
+pkgver=4.9.2
+pkgrel=1
+pkgdesc='Powerful command-line packet analyzer'
+url='http://www.tcpdump.org/'
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('libpcap' 'openssl')
+source=("http://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz"{,.sig})
+validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D')
+sha256sums=('f9448cf4deb2049acf713655c736342662e652ef40dbe0a8f6f8d5b9ce5bd8f3')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+
+ make
+}
+
+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}
+}
More information about the arch-commits
mailing list