Guest User

gns3-server

a guest
Jul 10th, 2016
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: korjjj <korjjj+aur[at]gmail[dot]com>
  2.  
  3. pkgname=gns3-server
  4. pkgver=1.5.1
  5. pkgrel=1
  6. pkgdesc='GNS3 network simulator. Server package.'
  7. arch=('any')
  8. url='https://github.com/GNS3/gns3-server'
  9. license=('GPL3')
  10. groups=('gns3')
  11. makedepends=('python-setuptools')
  12. depends=('python-jsonschema' 'python-aiohttp' 'python-jinja' 'python-raven' 'python-psutil' 'python-zipstream')
  13. optdepends=('dynamips: Cisco router emulator.'
  14. 'vboxwrapper: VirtualBox wrapper for GNS3.'
  15. 'iouyap: Bridge IOU to UDP, TAP and Ethernet.'
  16. 'qemu: Used by GNS3 to run Cisco ASA, PIX and IDS.'
  17. 'vpcs: Simple PC emulation for basic network operations.'
  18. 'ubridge: Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces.'
  19. 'gns3-gui: graphical user interface for GNS3 server.'
  20. )
  21. install="${pkgname}.install"
  22. source=("${pkgname}-${pkgver}.tar.gz::https://github.com/GNS3/${pkgname}/archive/v${pkgver}.tar.gz"
  23. "${pkgname}@.service")
  24. md5sums=('371d50e3f4e52159620249326a19d0fe'
  25. 'f602390385890dab14f68e5e0a8cac2d')
  26.  
  27. package() {
  28. cd ${srcdir}/${pkgname}-${pkgver}
  29. python setup.py install --root=${pkgdir} --optimize=1
  30. install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
  31. install -Dm644 ${srcdir}/${pkgname}@.service ${pkgdir}/usr/lib/systemd/system/${pkgname}@.service
  32. }
  33.  
  34. # vim:set ts=2 sw=2 et:
RAW Paste Data