Want more features on Pastebin? Sign Up, it's FREE!
Guest

[GTKNETCAT] By SpepS

By: a guest on Oct 20th, 2010  |  syntax: None  |  size: 0.71 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Florian Pritz <f-p@gmx.at>
  2. # Contributor: SpepS <dreamspepser at yahoo dot it>
  3.  
  4. pkgname=gtknetcat
  5. pkgver=0.1
  6. pkgrel=3
  7. pkgdesc="GUI for netcat"
  8. arch=('any')
  9. url="http://lxde.org"
  10. license=('GPL')
  11. depends=('gnu-netcat' 'python2')
  12. makedepends=('intltool' 'gawk')
  13. install="$pkgname.install"
  14. source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz)
  15. md5sums=('de545d2bce7878f0751e2cda3d2a4bce')
  16.  
  17. build() {
  18.  
  19.   cd "$srcdir/$pkgname-$pkgver"
  20.  
  21.   # Python2 fixes
  22.   export PYTHON="python2"
  23.   sed -i "s_env python_&2_" src/$pkgname.*
  24.  
  25.   ./configure --prefix=/usr
  26.  
  27.   make
  28. }
  29.  
  30. package() {
  31.  
  32.   cd "$srcdir/$pkgname-$pkgver"
  33.  
  34.   make DESTDIR="$pkgdir/" install
  35. }
  36.  
  37. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data