Initial PKGBUILD status as of 28.11.2014

This commit is contained in:
Jaroslav Lichtblau 2014-11-28 20:17:14 +01:00
commit c494cb85f7
3 changed files with 58 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
pkgbase = assh
pkgdesc = SSH client which uses SSL proxies to establish anonymous connections
pkgver = 2.3
pkgrel = 1
url = http://assh.sourceforge.net/
arch = i686
arch = x86_64
license = GPL
depends = openssl
provides = corkscrew
conflicts = corkscrew
source = http://downloads.sourceforge.net/assh/assh-2.3.tgz
source = destdir.patch
md5sums = 9ce2dbb55416a9b1c38307b101067275
md5sums = b90b180edbbaa2237aa0f664ea7a47fd
pkgname = assh

29
PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: 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')
license=('GPL')
url="http://assh.sourceforge.net/"
depends=('openssl')
provides=('corkscrew')
conflicts=('corkscrew')
source=(http://downloads.sourceforge.net/assh/$pkgname-$pkgver.tgz
destdir.patch)
md5sums=('9ce2dbb55416a9b1c38307b101067275'
'b90b180edbbaa2237aa0f664ea7a47fd')
build() {
cd "$srcdir/$pkgname"
mkdir -p $pkgdir/usr/bin
patch < $srcdir/destdir.patch
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}

11
destdir.patch Normal file
View file

@ -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