summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/cinclude2dot/PKGBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/pcr/cinclude2dot/PKGBUILD b/pcr/cinclude2dot/PKGBUILD
index bab8804d1..94dcf3b27 100644
--- a/pcr/cinclude2dot/PKGBUILD
+++ b/pcr/cinclude2dot/PKGBUILD
@@ -1,27 +1,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
-pkgdesc="A Perl script which analyses C/C++ code and produces a #include dependency graph."
+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')
-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
-}
+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() {
- 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"
+ 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"
}
-
-md5sums=('372ca2cba1170ae4e040f7f84b7b98b5'
- 'bfdc230a26db0c66b238e6380e6badbe')