summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77f3b561be05873c121c5ee704a073cad5701bd4 (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
# Maintainer: Jan Peter Koenig <public@janpeterkoenig.com>
# Maintainer: Mark King <mark.king@markzz.com>
# Contributor: Olivier Mehani <shtrom-aur@ssji.net>
pkgname=libtrace
pkgver=4.0.21
pkgrel=1
pkgdesc="a library for trace processing supporting multiple input and output methods"
arch=('x86_64')
url="http://research.wand.net.nz/software/libtrace.php"
license=('GPL3')
depends=('libwandio>=4.2' 'libpcap' 'zlib')
makedepends=('automake' 'flex' 'bison')
source=("https://github.com/LibtraceTeam/libtrace/archive/refs/tags/$pkgver-1.tar.gz")

build() {
  cd "$srcdir/$pkgname-$pkgver-1"
  ./bootstrap.sh
  ./configure --prefix=/usr
  make || return 1
}

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

  make DESTDIR="$pkgdir/" install
}

sha256sums=('9e53d4587d0f2ec12db9666ef7c090f24c0ee01d853b839da4584b8a400d80b5')