summaryrefslogtreecommitdiffstats
path: root/gtknetcat/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-10-21 16:37:57 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-10-21 16:37:57 +0200
commitf291ddfd96f95c33250fe089d226376d78bc4996 (patch)
tree45d5496dbac71fd7d07363f9a17f4e887479129f /gtknetcat/PKGBUILD
parent9882db43c476f67c5a3843a4ebefa66a27f2652e (diff)
downloadaur-packages-f291ddfd96f95c33250fe089d226376d78bc4996.tar.gz
aur-packages-f291ddfd96f95c33250fe089d226376d78bc4996.tar.xz
update
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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')