# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=ubridge pkgver=0.9.7 pkgrel=0 pkgdesc="Bridge for UDP tunnels, Ethernet, TAP and VMnet interfaces." url="https://github.com/GNS3/ubridge" arch="all" license="GPL3" depends="" depends_dev="" makedepends="$depends_dev libpcap-dev linux-headers" install="" subpackages="$pkgname-doc" source="${pkgname}-${pkgver}.tar.gz::https://github.com/GNS3/${pkgname}/archive/v${pkgver}.tar.gz musl-fixes.patch" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" make || return 1 } package() { cd "$builddir" install -Dm755 ${srcdir}/${pkgname}-${pkgver}/${pkgname} ${pkgdir}/usr/bin/${pkgname} install -dm755 ${pkgdir}/usr/share/doc/${pkgname} install -m644 ${srcdir}/${pkgname}-${pkgver}/README.rst -t ${pkgdir}/usr/share/doc/${pkgname} install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } md5sums="3abdf22c658e484bb26fb343c66b4d6e ubridge-0.9.7.tar.gz 91dc8e9c293ae71b1b4e662f2cd83dcb musl-fixes.patch" sha256sums="15ac8a9fc446ae5df6742f147feb436d28e1a3a7700c4739e2f5ba98a4f0db92 ubridge-0.9.7.tar.gz cd4c6e8aae9a9f822627bc747a935191cb2ef7373af4a81ea538d600b6778d0d musl-fixes.patch" sha512sums="feca37b635c91cf5941d36c77e31dc0a51b9b7e0f6f8d384f431b13ac077d6d5b2552aef59c17c96a64be7d8b0b2c9567f3d0cd158ccc17e4760880c45fb4af9 ubridge-0.9.7.tar.gz 748a33f8c9e6841febcecc6d1fbad7eb5a07dbd05c61bc338dedced04adf8085d4386ae4461bcc406d0975b78ac5a656c260c2443a7369d6876f963ae8e7f128 musl-fixes.patch"