summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4de5686cb39a0fbc8b4afb8027b3be6d488d0f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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)

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

package() {
  cd "$pkgname-$pkgver"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}