# $Id: PKGBUILD 137023 2015-07-16 19:33:30Z arojas $
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=rankwidth
pkgver=0.7
pkgrel=1
pkgdesc="A program that calculates rank-width and rank-decompositions"
arch=(i686 x86_64)
url="http://pholia.tdi.informatik.uni-frankfurt.de/~philipp/software/rw.shtml"
license=(GPL2)
depends=(igraph)
makedepends=()
source=("http://pholia.tdi.informatik.uni-frankfurt.de/~philipp/software/rw-$pkgver.tar.gz")
md5sums=('58695835a1b5aaa3935143feabc8619a')

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

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

