summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8c8e11d7867684ac610ececf6ce3b2f72e0eede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Thermi <noel [at] familie-kuntze dot com>

pkgname=softflowd
pkgver=1.0.0
pkgrel=1
pkgdesc="open source netflow probe"
url='http://www.mindrot.org/projects/softflowd/'
license=("BSD")
arch=('i686' 'x86_64')
makedepends=('automake')

source=("https://github.com/irino/softflowd/archive/softflowd-${pkgver}.tar.gz")

sha256sums=('98aa66026d730211b45fe89670cd6ce50959846d536880b82f5afbca6281e108')

prepare() {
	cd ${srcdir}/softflowd-softflowd-${pkgver}
  autoreconf -if
	
}
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
}