summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9341a1598d682912b174893d318fdc601915ad9a (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
# Maintainer: Aleksandr <4le34n at gmail dot com>

pkgname=eve-ng-integration-git
pkgver=r63.3faa8ad
pkgrel=3
pkgdesc="Integrates EVE-NG (aka UNetLab) with Linux desktop"
arch=('any')
url="http://eve-ng.net"
license=('GPL')
depends=('python2' 'inetutils')
optdepends=('wireshark-gtk' 'wireshark-qt' 'x11-ssh-askpass' 'vinagre' 'python2-docker')
makedepends=('git')
install=install
source=('eve-ng-integration::git+https://github.com/SmartFinn/eve-ng-integration.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/" install post-install
        sed -i "s|python|python2|" "$pkgdir/usr/bin/eve-ng-integration"
}