1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
6 pkgdesc="Creates a virtual IP network over HTTP by encapsulating IP traffic into valid HTTP requests"
8 url="http://linux.softpedia.com/get/System/Networking/HTun-14751.shtml"
10 backup=('etc/htund.conf')
11 source=("http://www.sourcefiles.org/Networking/Tools/Proxy/$pkgname-$pkgver.tar.gz"
12 'include-and-static-updates.patch'
14 md5sums=('76226191f9020520fbaa480d1d428c2d'
15 'ad23071a6d2481c3a7d632c3a625f2bb'
16 '113c2a9f2ad15962bc975e35eaaf0ae6')
19 cd "$srcdir/$pkgname-$pkgver/src"
20 patch -d .. -p0 < "$srcdir/include-and-static-updates.patch"
25 install -Dm 755 "$srcdir/$pkgname-$pkgver/src/htund" "$pkgdir/usr/bin/htund"
26 install -Dm 644 "$srcdir/$pkgname-$pkgver/doc/htund.conf" "$pkgdir/etc/htund.conf"
27 install -Dm 755 "$srcdir/htund" "$pkgdir/etc/rc.d/htund"
29 for file in CHANGELOG FAQ README REPORTING-BUGS TODO; do
30 install -Dm 644 "$srcdir/$pkgname-$pkgver/doc/$file" "$pkgdir/usr/share/$pkgname/$file"