blob: dc455170db3ab7a2e76029a89d364607ecac2bb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Kyle Sferrazza <kyle.sferrazza@gmail.com>
# Contributor: fnord0 <fnord0@riseup.net>
# Contributor: N. Izumi aka izmntuk
pkgname=hans
pkgver=1.0
pkgrel=2
pkgdesc='IP over ICMP, makes it possible to tunnel IPv4 through ICMP echo packets'
arch=('i686' 'x86_64')
url='http://code.gerade.org/hans/'
license=('GPL3')
depends=('gcc-libs' 'net-tools')
source=("https://github.com/friedrich/hans/archive/v${pkgver}.tar.gz")
sha1sums=('8b5b5ad005afedf4a6bba5dd845c9ea40f2d6dd8')
build() {
make -C "${srcdir}/hans-${pkgver}"
}
package() {
cd "${srcdir}/hans-${pkgver}"
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 CHANGES "${pkgdir}/usr/share/doc/${pkgname}/CHANGES"
install -Dm755 hans "${pkgdir}/usr/bin/hans"
}
|