# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=pacgraph
pkgver=20110629
pkgrel=5
pkgdesc="Draws a graph of installed packages to PNG/SVG/GUI/console.  Good for finding bloat."
arch=('any')
url="http://kmkeen.com/pacgraph/"
license=('GPL')
depends=('python')
makedepends=()
optdepends=('inkscape: png backend'
            'imagemagick: png backend'
            'tk: gui version')
source=("http://kmkeen.com/pacgraph/$pkgname-$pkgver.tar.gz")
md5sums=('8f6da3a2fc4b8c5bb924767014b1cfb2')

package() {
  cd "$srcdir/$pkgname"
  install -Dm0755 pacgraph    "$pkgdir/usr/bin/pacgraph"
  install -Dm0755 pacgraph-tk "$pkgdir/usr/bin/pacgraph-tk"
  install -Dm644  $pkgname.1  "$pkgdir/usr/share/man/man1/$pkgname.1"
}

