summaryrefslogtreecommitdiff
path: root/pcr/assh
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/assh')
-rw-r--r--pcr/assh/PKGBUILD31
-rw-r--r--pcr/assh/destdir.patch11
2 files changed, 42 insertions, 0 deletions
diff --git a/pcr/assh/PKGBUILD b/pcr/assh/PKGBUILD
new file mode 100644
index 000000000..c62dba8c4
--- /dev/null
+++ b/pcr/assh/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Bartek Piotrowski <barthalion@gmail.com>
+
+pkgname=assh
+pkgver=2.3
+pkgrel=1
+pkgdesc="SSH client which uses SSL proxies to establish anonymous connections"
+arch=('i686' 'x86_64')
+url="http://assh.sourceforge.net/"
+license=('GPL')
+depends=('openssl')
+provides=('corkscrew')
+conflicts=('corkscrew')
+source=(http://downloads.sourceforge.net/assh/$pkgname-$pkgver.tgz
+ destdir.patch)
+
+build() {
+ cd "${srcdir}"/$pkgname
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ install -d "${pkgdir}"/usr/bin
+ patch < "${srcdir}"/destdir.patch
+
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/pcr/assh/destdir.patch b/pcr/assh/destdir.patch
new file mode 100644
index 000000000..f845b1d0d
--- /dev/null
+++ b/pcr/assh/destdir.patch
@@ -0,0 +1,11 @@
+--- assh/Makefile 2010-03-30 22:47:12.000000000 +0200
++++ Makefile 2010-12-18 17:53:46.232999739 +0100
+@@ -12,7 +12,7 @@
+ cc ${CFLAGS} corkscrew.c -o corkscrew
+
+ install:
+- cp -f ${PROGS} /usr/bin/
++ cp -f ${PROGS} ${DESTDIR}/usr/bin
+
+ clean:
+ rm -f ${PROGS} *.o