summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7fb73355d5795c4a364437f7e8d3420c05cf6461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: S.Leduc <sebastien@sleduc.fr>

pkgname=lddot-hg
_hgname=lddot
pkgrel=1
pkgver=3.a8e5d44f104a
pkgdesc="A wrapper over ldd, which produces output in Graphviz format."
arch=("any")
url="http://jwilk.net/software/lddot "
license=('MIT')
depends=('python')
makedepends=('mercurial')
optdepends=('graphviz: Graph visualization software for lddot output'
            'perl-graph-easy: Convert or render graphs to ASCII/Image')
source=("${_hgname}::hg+https://bitbucket.org/jwilk/${_hgname}")
md5sums=("SKIP")

pkgver() {
  cd "$_hgname"
  echo "$(hg identify -n).$(hg identify -i)"
}

package() {
  cd "$_hgname"
  install -D -m 0755 $_hgname "$pkgdir/usr/bin/$_hgname"
}
# vim:set ts=2 sw=2 et: