summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2016-02-11 22:16:37 +0900
committerBenjamin Chr├ętien2016-02-11 22:16:37 +0900
commit1aac0f386e88d35b727d600ed3716184c24518d6 (patch)
tree2d1ad54236939e07caf6470a4aefb3cc5b3a4500
downloadaur-tcptrack.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2fc236b6d42
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Feb 11 13:16:27 UTC 2016
+pkgbase = tcptrack
+ pkgdesc = A sniffer which displays information about TCP connections it sees on a network interface
+ pkgver = 1.4.3
+ pkgrel = 1
+ url = https://github.com/bchretien/tcptrack/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libpcap
+ source = https://github.com/bchretien/tcptrack/archive/v1.4.3.tar.gz
+ sha256sums = 8725205ecbeddc3f891e3345e70f150d87705b099eafd8780f4739ab14f8c862
+
+pkgname = tcptrack
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a91b4e5111c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+pkgname=tcptrack
+pkgver=1.4.3
+pkgrel=1
+pkgdesc="A sniffer which displays information about TCP connections it sees on a network interface"
+arch=('i686' "x86_64")
+url="https://github.com/bchretien/tcptrack/"
+license=('GPL')
+depends=('libpcap')
+source=("https://github.com/bchretien/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('8725205ecbeddc3f891e3345e70f150d87705b099eafd8780f4739ab14f8c862')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
+}