summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c90f0317131f707d1cdd4eaa2f235e804f3635e2 (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
# Maintainer: Denis Salopek <denis.sale@gmail.com>
# Contributor: Robin Nehls <aur@manol.is>

pkgname=imunes-git
pkgver=v3.0.0b
pkgrel=1
pkgdesc="Integrated Multiprotocol Network Emulator/Simulator"
arch=('i686' 'x86_64')
url="https://imunes.net/"
license=('BSD')
depends=('tcl' 'tk' 'tcllib' 'wireshark-qt' 'imagemagick' 'docker' 'xterm' 'iproute2' 'socat' 'jq')
makedepends=('git' 'make')
conflicts=('imunes')
provides=('imunes')
source=('git+https://github.com/imunes/imunes.git'
        '0001-PKGBUILD-compat.patch')
sha1sums=('SKIP'
          '4d68f7f685222a23bb7d54d5cff78aa2da628135')
_gitname=imunes

pkgver() {
  cd $_gitname
  echo $(git describe --always | sed 's/-/./g')
}

prepare() {
  cd $_gitname
  patch -p1 -i $srcdir/0001-PKGBUILD-compat.patch
}

package() {
  cd $_gitname
  make PREFIX=${pkgdir}/usr REALPREFIX=/usr install
}

# vim:set ts=2 sw=2 et: