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

pkgname=tdlib
pkgver=0.5.0
pkgrel=4
pkgdesc="Algorithms for computing tree decompositions of graphs"
arch=(any)
url="https://github.com/freetdi/tdlib/"
license=(GPL2)
depends=()
makedepends=(boost)
source=("https://sources.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('4cddaf2397f3ff291b0aa93b6c529edeae6af8d7337e5c9f28758042950b6264')

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

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