1 # Contributor: fnord0 < fnord0 AT riseup DOT net >
6 pkgdesc="IP over ICMP, Hans makes it possible to tunnel IPv4 through ICMP echo packets"
8 url="http://code.gerade.org/hans/"
11 source=("http://downloads.sourceforge.net/sourceforge/hanstunnel/hans-${pkgver}.tar.gz")
12 md5sums=('3ab507a4747f6532b457363b67b78ceb')
13 sha1sums=('55c4d7927d553d19687bd098b5cfb3d739176098')
16 cd ${srcdir}/hans-${pkgver}
17 install -d ${pkgdir}/usr/share/${pkgname} || return 1
18 install -d ${pkgdir}/usr/share/licenses/${pkgname} || return 1
19 install -d ${pkgdir}/usr/bin || return 1
20 install -Dm644 README ${pkgdir}/usr/share/${pkgname}/README || return 1
21 cp -p *.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
23 install -Dm744 hans ${pkgdir}/usr/share/${pkgname}/hans || return 1
24 ln -sf /usr/share/${pkgname}/hans ${pkgdir}/usr/bin/hans || return 1