diff options
Diffstat (limited to 'pcr/cinclude2dot')
-rw-r--r-- | pcr/cinclude2dot/.gitignore | 2 | ||||
-rw-r--r-- | pcr/cinclude2dot/PKGBUILD | 27 |
2 files changed, 29 insertions, 0 deletions
diff --git a/pcr/cinclude2dot/.gitignore b/pcr/cinclude2dot/.gitignore new file mode 100644 index 000000000..f326e85cb --- /dev/null +++ b/pcr/cinclude2dot/.gitignore @@ -0,0 +1,2 @@ +cinclude2dot +cinclude2dot.1 diff --git a/pcr/cinclude2dot/PKGBUILD b/pcr/cinclude2dot/PKGBUILD new file mode 100644 index 000000000..bab8804d1 --- /dev/null +++ b/pcr/cinclude2dot/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=cinclude2dot +pkgver=1.1 +pkgrel=2 +pkgdesc="A Perl script which analyses C/C++ code and produces a #include dependency graph." +arch=('any') +url="http://flourish.org/cinclude2dot/" +license=('GPL') +depends=('perl') +source=('http://flourish.org/cinclude2dot/cinclude2dot' + 'http://flourish.org/cinclude2dot/cinclude2dot.1') + +build() { + gzip -c cinclude2dot.1 > cinclude2dot.1.gz +} + +package() { + cd "$srcdir" + install -d "$pkgdir/usr/bin" + install -m755 cinclude2dot "$pkgdir/usr/bin" + install -d "$pkgdir/usr/share/man/man1" + install -m644 cinclude2dot.1.gz "$pkgdir/usr/share/man/man1" +} + +md5sums=('372ca2cba1170ae4e040f7f84b7b98b5' + 'bfdc230a26db0c66b238e6380e6badbe') |