1 # Contributor: Nazarov Pavel <genocid@rambler.ru>
5 pkgdesc="Graphical environment written in C++ and Qt4 that allows to configure and manage a Netkit lab in a very simple and intuitive way."
7 url="http://code.google.com/p/visual-netkit/"
10 source=(http://visual-netkit.googlecode.com/files/VisualNetkit-$pkgver.tar.gz visualnetkit.desktop visualnetkit.sh)
11 md5sums=('71d19cadf17b9708aee41ef785d0db4c'
12 '5ccbba0db95916988dd1c75aa1c6b266'
13 '7624eae9ce0f0035bf11dc6b25dd6438')
17 cd $startdir/src/$pkgname-$pkgver/src/plugin_dev
21 qmake -after DESTDIR="$pkgdir/usr/lib/visualnetkit/" || return 1
26 cd $startdir/src/$pkgname-$pkgver
27 qmake -after DESTDIR="$pkgdir/usr/bin/" VisualNetkit.pro || return 1
30 install -Dm 644 "$srcdir/$pkgname-$pkgver/resources/big_icons/visualnetkit.png" "$pkgdir/usr/share/pixmaps/visualnetkit.png"
31 install -Dm 644 "$srcdir/visualnetkit.desktop" "$pkgdir/usr/share/applications/visualnetkit.desktop"
32 install -Dm 755 "$srcdir/visualnetkit.sh" "$pkgdir/usr/bin/visualnetkit-start"