1 # Maintainer: Tomas Kral <tomas.kral@gmail.com>
5 pkgdesc="Curveprotect is a complex collection of tools for protecting wide range of internet services with CurveCP + DNSCurve."
7 url="http://curveprotect.org"
8 license=("custom:PublicDomain")
9 depends=("daemontools" "ucspi-tcp" "python2")
12 install=curveprotect.install
13 source=("http://curveprotect.org/testing/$pkgname-$pkgver.tar.bz2" "python2.patch")
14 md5sums=("181a82bb80825eb1ab096b2cfa23e996" "91956d95440abbfeb470cc207c7d0860")
19 cd "$srcdir/$pkgname-$pkgver/www"
20 patch -p1 -i ${startdir}/python2.patch
23 cd "$srcdir/$pkgname-$pkgver"
29 cd "$srcdir/$pkgname-$pkgver"
30 install -D -m644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
32 # make use of debian package source
33 for dir in `cat debian/curveprotect.dirs`; do
34 mkdir -p "${pkgdir}/${dir}"
37 cat debian/curveprotect.install debian/curveprotect-bin.install |
41 _src=`echo "$line" | cut -d " " -f 1`
42 _dst=`echo "$line" | cut -d " " -f 2`
43 mkdir -p ${pkgdir}/${_dst}
44 cp -r ${_src} ${pkgdir}/${_dst}