updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / sslredir / PKGBUILD
blobd2a5ef97402c4aef937cf635b2845f35ba5d9783
1 # Maintainer: faktorx <faktorx at lavabit dot com>
3 pkgname='sslredir'
4 pkgver='0.9.1'
5 pkgrel=1
6 pkgdesc="A simple utility used for redirecting incoming non-SSL connections to outgoing SSL connections"
7 url='https://urandom.ca/sslredir/'
8 arch=('any')
9 license=('GPL2')
10 depends=('python2' 'python-m2crypto')
12 source=("https://urandom.ca/$pkgname/downloads/$pkgname-$pkgver.tar.gz"{,.sig})
13 sha1sums=('2f94ad524221f1bde7637ece87f730d60b36a977'
14           '39c46cc828b8d3db3d8d866c8e0809f6f61841b2')
15 build()
17   cd "$pkgname-$pkgver"
18   sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|g" ./sslredir
21 package()
23   cd "$pkgname-$pkgver"
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