summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThermi2015-04-26 03:54:47 +0200
committerThermi2015-04-26 03:54:47 +0200
commitb915cdbb2ee0217a487a6f703a7a5a42b294af33 (patch)
treec0dd063959ef6283b8b51b08afa1bdbb6f26bdcb
downloadaur-b915cdbb2ee0217a487a6f703a7a5a42b294af33.tar.gz
softflowd: Added PKGBUILD for softflowd
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD35
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..817a25dd0d3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = softflowd
+ pkgdesc = open source netflow probe
+ pkgver = 0.9.9
+ pkgrel = 1
+ url = http://www.mindrot.org/projects/softflowd/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ source = https://github.com/Thermi/softflowd/archive/softflowd-0.9.9.tar.gz
+ sha256sums = 835a52c641e2e4bfc3afae0f5c667ad69d0af35fded4ff4d20ea2904f8b6cad2
+
+pkgname = softflowd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..62cb1814474
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Thermi <noel [at] familie-kuntze dot com>
+
+pkgname=softflowd
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="open source netflow probe"
+url='http://www.mindrot.org/projects/softflowd/'
+license=("BSD")
+arch=('i686' 'x86_64')
+depends=()
+
+source=("https://github.com/Thermi/softflowd/archive/softflowd-${pkgver}.tar.gz")
+
+sha256sums=('835a52c641e2e4bfc3afae0f5c667ad69d0af35fded4ff4d20ea2904f8b6cad2')
+
+prepare() {
+ cd ${srcdir}/softflowd-softflowd-${pkgver}
+ touch config.h.in
+ autoreconf
+
+}
+build() {
+ cd ${srcdir}/softflowd-softflowd-${pkgver}/
+
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib
+ make
+}
+
+package() {
+ cd "${srcdir}/softflowd-softflowd-${pkgver}"
+ make DESTDIR=${pkgdir} install
+}