summaryrefslogtreecommitdiff
path: root/pcr/cinclude2dot/PKGBUILD
blob: 94dcf3b277ee2e92b53f931296590b175ad9afbd (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
# Maintainer (AUR): Yuexuan Gu <lastavengers@outlook.com>
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

# parabola changes and rationale:
#  - added manpage to package

pkgname=cinclude2dot
pkgver=1.1
pkgrel=2.1
pkgdesc="a perl script which analyses C/C++ code and produces a #include dependency graph."
url="https://www.flourish.org/cinclude2dot/"
arch=('any')
license=('GPL')
depends=('perl')
optdepends=('graphviz: convert dot file to png file.')
source=('https://www.flourish.org/cinclude2dot/cinclude2dot'
        'https://www.flourish.org/cinclude2dot/cinclude2dot.1')
sha256sums=('78f2e60d49882c7d0969a2ac396238234d7b8d16eef83cc2910e6556fd6b990c'
            '28a797b7a9c23d41de949ec3d07d0c04a8648bf75b8325890c5158acb6925cb5')

package() {
    install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
    gzip -c $pkgname.1 > $pkgname.1.gz
    install -Dm644 $pkgname.1.gz "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
}