# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=cliquer
pkgver=1.21
pkgrel=3
pkgdesc="A set of C routines for finding cliques in an arbitrary weighted graph"
arch=(x86_64)
url="http://users.aalto.fi/~pat/cliquer.html"
license=(GPL)
depends=(glibc)
conflicts=(libcliquer)
provides=(libcliquer)
replaces=(libcliquer)
source=($pkgname-$pkgver.tar.gz::"https://github.com/dimpase/autocliquer/archive/v$pkgver.tar.gz")
sha256sums=('297de57628cf0d89093ef6d3b366a1594b180970e5ffee1395b2b305859584e6')

build() {
  cd autocliquer-$pkgver
  autoreconf -vi
  ./configure --prefix=/usr
  make
}

package() {
  cd autocliquer-$pkgver
  make DESTDIR="$pkgdir" install
}
