summaryrefslogtreecommitdiffstats
path: root/gtknetcat/PKGBUILD
blob: c0f7504343caa7204671e14f6797955879a2c0a1 (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
33
34
35
36
37
# Maintainer: Florian Pritz <flo@xinu.at>
# Contributor: SpepS <dreamspepser at yahoo dot it>

pkgname=gtknetcat
pkgver=0.1
pkgrel=3
pkgdesc="GUI for netcat"
arch=('any')
url="http://lxde.org"
license=('GPL')
depends=('gnu-netcat' 'python2')
makedepends=('intltool' 'gawk')
install="$pkgname.install"
source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz)
md5sums=('de545d2bce7878f0751e2cda3d2a4bce')

build() {

  cd "$srcdir/$pkgname-$pkgver"

  # Python2 fixes
  export PYTHON="python2"
  sed -i "s_env python_&2_" src/$pkgname.*

  ./configure --prefix=/usr

  make
}

package() {

  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: