summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d6e52e301e7124582819830248b94cabad41658d (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
# Maintainer: Justin Milam <jsmilam at gmail dot com>
pkgname=sngrep
pkgver=1.4.7
pkgrel=1
pkgdesc="A tool for displaying SIP call message flows from a terminal"
arch=('x86_64' 'i386')
url="https://github.com/irontec/sngrep"
license=('GPL')
depends=('ncurses' 'libpcap' 'pcre' 'gnutls')
makedepends=('git' 'sed')
provides=("${pkgname%}")
conflicts=("${pkgname%}")
install=
source=("${pkgname%}::git+https://github.com/irontec/sngrep.git#tag=v${pkgver%}")
md5sums=('SKIP')

build() {
	cd "$srcdir/${pkgname%}"
	./bootstrap.sh
	./configure --enable-unicode --enable-eep --with-gnutls --with-pcre --enable-ipv6 --prefix=/usr
	make
}

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