summaryrefslogtreecommitdiff
path: root/community/httptunnel/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/httptunnel/PKGBUILD')
-rw-r--r--community/httptunnel/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/community/httptunnel/PKGBUILD b/community/httptunnel/PKGBUILD
index 2bc4b6049..1d923e6de 100644
--- a/community/httptunnel/PKGBUILD
+++ b/community/httptunnel/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 31032 2009-03-24 04:10:30Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 55529 2011-09-14 07:38:23Z andrea $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=httptunnel
pkgver=3.3
-pkgrel=2
-pkgdesc="httptunnel creates a bidirectional virtual data connection tunnelled in HTTP requests"
-arch=(i686 x86_64 'mips64el')
+pkgrel=3
+pkgdesc="Creates a bidirectional virtual data connection tunnelled in HTTP requests"
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nocrew.org/software/httptunnel"
license=('GPL2')
depends=('glibc')
-source=(http://www.nocrew.org/software/httptunnel/$pkgname-$pkgver.tar.gz)
+source=("http://www.nocrew.org/software/${pkgname}/$pkgname-$pkgver.tar.gz")
md5sums=('493cc0f5f21e9955db27ee9cd9a976d5')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ cd "${srcdir}"/$pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
}