# $Id: PKGBUILD 128455 2015-03-01 08:16:21Z arojas $
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=lrs
pkgver=051
pkgrel=2
pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
arch=(i686 x86_64)
url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
license=(GPL)
depends=(gmp)
source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/lrslib-$pkgver.tar.gz")
md5sums=('cca323eee8bf76f598a13d7bf67cc13d')

build() {
  cd lrslib-$pkgver
  make
}

package() {
  cd lrslib-$pkgver

  mkdir -p "$pkgdir"/usr/bin
  cp lrs redund nash "$pkgdir"/usr/bin/
}

