File PKGBUILD of Package grepcidr

# Maintainer: Sebastian Reuße <seb@wirrsal.net>
pkgname=grepcidr
pkgver=2.0
pkgrel=1
pkgdesc="Filter IPv4 and IPv6 addresses matching CIDR patterns"
url=http://www.pc-tools.net/unix/grepcidr/
license=(GPL3)
source=(http://www.pc-tools.net/files/unix/grepcidr-2.0.tar.gz)
sha512sums=(c592c7a96e5e711cb5ee10ea1f63907411f69c0014c0bdc845f4b026766b6466db624063af1411b994b53aa7e694fe99ecb1120c11543c5ea1b11afc9558f7aa)
arch=(i686 x86_64)
depends=(glibc)
options=('!lto')
options+=('!debug')

build() {
  cd "$pkgname-$pkgver"
  make
}

package() {
  cd "$pkgname-$pkgver"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}
openSUSE Build Service is sponsored by