1 # Maintainer: faktorx <faktorx at lavabit dot com>
6 pkgdesc="A simple utility used for redirecting incoming non-SSL connections to outgoing SSL connections"
7 url='https://urandom.ca/sslredir/'
10 depends=('python2' 'python-m2crypto')
12 source=("https://urandom.ca/$pkgname/downloads/$pkgname-$pkgver.tar.gz"{,.sig})
13 sha1sums=('2f94ad524221f1bde7637ece87f730d60b36a977'
14 '39c46cc828b8d3db3d8d866c8e0809f6f61841b2')
18 sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|g" ./sslredir
24 install -D -p -m 755 sslredir $pkgdir/usr/bin/sslredir
25 install -D -p -m 644 sslredir.1 $pkgdir/usr/share/man/man1/sslredir.1