summaryrefslogtreecommitdiff
path: root/extra/ntrack/PKGBUILD
blob: 3d247b3761422797fa90d98e5add9765a5b5e372 (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
# $Id: PKGBUILD 149014 2012-02-05 14:07:18Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=ntrack
pkgver=16
pkgrel=1
epoch=1
pkgdesc="A network connectivity tracking library"
arch=('i686' 'x86_64')
url="http://launchpad.net/ntrack/"
license=('LGPL')
depends=('qt' 'libnl')
makedepends=('python2')
options=('!libtool' '!emptydirs')
source=("http://launchpad.net/${pkgname}/main/0${pkgver}/+download/${pkgname}-0${pkgver}.tar.gz")
md5sums=('21691dac43460a6791cba3decbc68242')

build() {
  cd "${srcdir}/${pkgname}-0${pkgver}"

  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-0${pkgver}"
  make DESTDIR="${pkgdir}" install
}