1 # Maintainer: Le_suisse <lesuisse.dev+aur at gmail dot com>
2 # Contributor: Jason Rodriguez <jason-aur@catloaf.net>
6 pkgdesc="SSL/SSH Multiplexer"
8 url="http://www.rutschle.net/tech/sslh.shtml"
10 backup=('etc/conf.d/sslh')
11 source=("http://www.rutschle.net/tech/${pkgname}-${pkgver}.tar.gz"
14 md5sums=('bc34e9a4770d634633e70589c72708cc'
15 '60197b40960bb4c0e30e7bb41aceb784')
18 cd "$srcdir/$pkgname-$pkgver"
19 sed -i -e "s+init.d+rc.d+" $srcdir/$pkgname-$pkgver/sslh.pod
20 sed -i -e "s+/etc/default+/etc/conf.d+" $srcdir/$pkgname-$pkgver/sslh.pod
23 sed -i -e "s+^PREFIX=/usr/local+PREFIX=${pkgdir}/usr+" $srcdir/$pkgname-$pkgver/Makefile
25 install -D -m 0644 $srcdir/$pkgname-$pkgver/scripts/etc.default.sslh ${pkgdir}/etc/conf.d/sslh
26 install -D -m 0755 ../rc.sslh ${pkgdir}/etc/rc.d/sslh