1 # Maintainer: Kevin Piche <kevin@archlinux.org>
2 # Contributor: K. Piche <kpiche@rogers.com>
7 pkgdesc="A basic network diagramming program with NetViz-style drill-down capabilities"
8 url="http://www.nethack.net/software/netmapr/"
9 source=(http://www.nethack.net/software/netmapr/downloads/$pkgname-$pkgver.tar.gz)
10 depends=('sdl_ttf' 'x-server')
11 md5sums=('4ae03f44f86c9789ee78362446de4378')
14 cd $startdir/src/$pkgname-$pkgver
16 sed -e "s@/usr/local/@$startdir/pkg/usr/@g" \
17 -e "s@install -C@install@" Makefile.linux >Makefile
18 sed -e "s@^#include <unistd.h>@/* & */@" \
19 -e "s@/usr/local/@/usr/@g" -i netmapr.c