diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-08 17:41:21 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-10-08 17:41:21 +0200 |
commit | f85b4cf31b0e3947f29ce1e9b9140dc89e1e706d (patch) | |
tree | f1dd65c42e4e734a64dd961bab61d731e71336b7 /pcr/egypt | |
parent | 148c631a79b1b1d444ee36aeebfa88629415af82 (diff) | |
download | abslibre-f85b4cf31b0e3947f29ce1e9b9140dc89e1e706d.tar.gz abslibre-f85b4cf31b0e3947f29ce1e9b9140dc89e1e706d.tar.bz2 abslibre-f85b4cf31b0e3947f29ce1e9b9140dc89e1e706d.zip |
egypt A devilishly simple tool for creating call graphs of C
Diffstat (limited to 'pcr/egypt')
-rw-r--r-- | pcr/egypt/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/egypt/PKGBUILD b/pcr/egypt/PKGBUILD new file mode 100644 index 000000000..463d6fb32 --- /dev/null +++ b/pcr/egypt/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor : Ivan Sichmann Freitas <ivansichfreitas@gmail.com> +# Contributor : Dan McGee <dpmcgee@gmail.com> +# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +pkgname=egypt +pkgver=1.10 +pkgrel=2 +pkgdesc="A devilishly simple tool for creating call graphs of C programs" +url="http://www.gson.org/egypt/" +license=('GPL') +arch=('any') +depends=('perl' 'graphviz') +source=(http://www.gson.org/$pkgname/download/$pkgname-$pkgver.tar.gz) + +build() { + cd $srcdir/$pkgname-$pkgver + perl Makefile.PL + make + +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + # remove a local-only file + find $pkgdir -name perllocal.pod -exec rm {} \; + # moving the executable to the default system path + mv $pkgdir/usr/bin/site_perl/egypt $pkgdir/usr/bin + rmdir $pkgdir/usr/bin/site_perl + rmdir $pkgdir/usr/lib/perl5/core_perl +} |