blob: 6ebb5cd73c98bd0d6c622747592866c767d1d93f (
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
|
# Maintainer: Ondřej Hlavatý <ohlavaty at redhat dot com>
pkgname=plotnetcfg
pkgver=0.4.1
pkgrel=1
pkgdesc="A tool to dump and visualize complex network configuration."
arch=('x86' 'x86_64')
url="https://github.com/jbenc/plotnetcfg"
license=('GPL')
depends=('jansson>=2.3')
optdepends=('graphviz: to actually draw the diagrams')
source=(
"https://github.com/jbenc/plotnetcfg/archive/v$pkgver.tar.gz"
"plotnetcfg-v0.4.1.patch"
)
sha1sums=('eb5da7dfb954cf5733c9eb546fe14f063d66c0a3'
'0c7ddfb7d068bdd09483cd006f02a707eea01158')
BUILDENV+=('!check')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 <../$pkgname-v$pkgver.patch
}
build() {
cd "$pkgname-$pkgver"
make CC=gcc
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|