summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22326eabeda695f55e61eea00639dc970e49ed27 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Author: Tobias Rueetschi <tr+archlinux at brief dot li>

pkgname='nsntrace'
pkgver=3
pkgrel=3
pkgdesc="Perform network trace of a single process by using network namespaces."
arch=('i686' 'x86_64')
url="https://github.com/jonasdn/nsntrace"
license=('GPL2')
groups=()
depends=(
    'dbus'
    'docbook-xsl'
    'glibc'
    'libpcap'
    'libgcrypt'
    'libgpg-error'
    'libnl'
    'libsystemd'
    'libusb'
    'libxslt'
    'lz4'
    'xz'
)
makedepends=('automake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://github.com/jonasdn/nsntrace/archive/v${pkgver}.tar.gz)
noextract=()
md5sums=('beb4fd3b4c11df70de8dc2012a770d87')
sha256sums=('45497601e6d65e458d6d5cac52bbe4bcd303845077f7f8625666eb4e0e55ace6')

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

    ./autogen.sh
    ./configure --prefix=/usr
    make
}

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

    make DESTDIR="${pkgdir}/" install
}