summaryrefslogtreecommitdiffstats
path: root/gtknetcat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gtknetcat/PKGBUILD')
-rw-r--r--gtknetcat/PKGBUILD29
1 files changed, 21 insertions, 8 deletions
diff --git a/gtknetcat/PKGBUILD b/gtknetcat/PKGBUILD
index 5996ceb..c0f7504 100644
--- a/gtknetcat/PKGBUILD
+++ b/gtknetcat/PKGBUILD
@@ -1,24 +1,37 @@
-# Maintainer: Florian Pritz <f-p@gmx.at>
+# Maintainer: Florian Pritz <flo@xinu.at>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
pkgname=gtknetcat
pkgver=0.1
-pkgrel=2
+pkgrel=3
pkgdesc="GUI for netcat"
-arch=('i686' 'x86_64')
+arch=('any')
url="http://lxde.org"
license=('GPL')
-depends=('gnu-netcat' 'gawk' 'python')
-makedepends=('intltool')
+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 || return 1
+
+ make
+}
+
+package() {
+
+ cd "$srcdir/$pkgname-$pkgver"
+
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
-md5sums=('de545d2bce7878f0751e2cda3d2a4bce')
-sha256sums=('7d59d82410a5e466f9a81425f234591c083ff6495b38430fa683884029542c45')