# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=grepcidr3 pkgver=3.0 pkgrel=1 pkgdesc="High performance search for IP addresses and CIDR ranges" url="https://github.com/jrlevine/grepcidr3" arch="all" options="!check" # no tests license="GPL-2.0" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/jrlevine/grepcidr3/archive/refs/tags/v$pkgver.tar.gz fix-makefile.patch" build() { make } package() { mkdir -p "$pkgdir"/usr/bin mkdir -p "$pkgdir"/usr/share/man/man1 make INSTALLDIR="$pkgdir"/usr install } sha512sums=" 4d4dcf95453514c56824122d7cf27d9711cd68308af633755e80ed891660ede2f51dd0532d2cbc62bd62516005e22085c56063f363f77ff91cca9f7d18549e65 grepcidr3-3.0.tar.gz d75b21e5077dc3fd7da762f694877c071a82d637e613c3cc0122b552d797d5759b247d8b01dbf66adfcb184a31121bb75c3e9ca9db9e9302a287c5dbbb25b8c8 fix-makefile.patch "