# Maintainer: Jesus E. pkgname=6tunnel pkgver=0.13 pkgrel=2 pkgdesc="Tunnels IPv6 connections for IPv4-only applications" url='https://github.com/wojtekka/6tunnel' license=('GPL-2') arch=('i686' 'x86_64') source=("https://github.com/wojtekka/6tunnel/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('e495b561e2fe4483417cf44291d729377fe02123f21b7d58b9aed294c676392d860de7474b6bcb4e3e4ffdcd87752ee1af070dfbab028b5de5adb778b0241f72') build() { cd "$srcdir"/$pkgname-$pkgver autoconf ./configure \ --prefix=/usr make } package() { cd "$srcdir"/$pkgname-$pkgver install -Dm755 6tunnel -t "${pkgdir}"/usr/bin install -Dm644 6tunnel.1 -t "${pkgdir}"/usr/share/man/man1 install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/$pkgname }