blob: 81d13ebfac3b43dfd2271d36ee22a21a3b19bc7a (
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
|
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=tzsp2pcap-git
pkgver=r16.e2e5d91
pkgrel=1
pkgdesc="Simple live TaZmen Sniffer Protocol (TZSP) to pcap converter"
arch=('i686' 'x86_64')
url="https://github.com/thefloweringash/tzsp2pcap"
license=('BSD')
groups=('network')
depends=('libpcap')
makedepends=('git')
source=("$pkgname::git+https://github.com/thefloweringash/tzsp2pcap.git")
md5sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $pkgname
LDFLAGS="-D_DEFAULT_SOURCE" make
}
package() {
cd $pkgname
install -Dm755 tzsp2pcap "$pkgdir/usr/bin/tzsp2pcap"
}
# vim:set ts=2 sw=2 et:
|