[arch-commits] Commit in tcpflow/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:24:43 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:24:43
  Author: felixonmars
Revision: 659237

archrelease: copy trunk to community-staging-x86_64

Added:
  tcpflow/repos/community-staging-x86_64/
  tcpflow/repos/community-staging-x86_64/PKGBUILD
    (from rev 659236, tcpflow/trunk/PKGBUILD)

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

Copied: tcpflow/repos/community-staging-x86_64/PKGBUILD (from rev 659236, tcpflow/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:24:43 UTC (rev 659237)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+
+pkgname=tcpflow
+pkgver=1.5.2
+pkgrel=2
+pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently"
+arch=('x86_64')
+url="https://github.com/simsong/tcpflow"
+license=('GPL')
+depends=('libpcap' 'cairo' 'openssl' 'sqlite')
+makedepends=('git' 'boost')
+source=("git+https://github.com/simsong/$pkgname.git#tag=$pkgname-$pkgver"
+        'git+https://github.com/simsong/be13_api.git'
+        'git+https://github.com/simsong/dfxml.git'
+        'git+https://github.com/joyent/http-parser.git')
+sha512sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP')
+
+prepare() {
+  cd $pkgname
+  git submodule init
+  git config submodule."src/be13_api".url "$srcdir/be13_api"
+  git config submodule."src/dfxml".url "$srcdir/dfxml"
+  git config submodule."src/http-parser".url "$srcdir/http-parser"
+  git submodule update
+
+  autoreconf -vi
+}
+
+build() {
+  cd $pkgname
+  sh bootstrap.sh
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}
+


More information about the arch-commits mailing list