diff options
-rw-r--r-- | pcr/egypt/PKGBUILD | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/pcr/egypt/PKGBUILD b/pcr/egypt/PKGBUILD index 463d6fb32..1d7f576b7 100644 --- a/pcr/egypt/PKGBUILD +++ b/pcr/egypt/PKGBUILD @@ -1,31 +1,34 @@ -# Contributor : Ivan Sichmann Freitas <ivansichfreitas@gmail.com> -# Contributor : Dan McGee <dpmcgee@gmail.com> +# Maintainer (AUR): Baptiste Jonglez <baptiste--aur at jonglez dot org> # Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp> +# parabola changes and rationale: +# no changes. + pkgname=egypt pkgver=1.10 -pkgrel=2 -pkgdesc="A devilishly simple tool for creating call graphs of C programs" +pkgrel=2.1 +pkgdesc="A simple tool for creating call graphs of C programs" +arch=("any") url="http://www.gson.org/egypt/" -license=('GPL') -arch=('any') -depends=('perl' 'graphviz') -source=(http://www.gson.org/$pkgname/download/$pkgname-$pkgver.tar.gz) +# The author states: "This program is free software; you can redistribute +# it and/or modify it under the same terms as Perl itself." +license=('GPL' 'PerlArtistic') +depends=("perl" "gcc" "graphviz") +makedepends=("perl") +optdepends=("gcc: for generating an intermediate representation of C code (RTL files)" + "graphviz: for visualising the resulting graph") +source=("https://www.gson.org/egypt/download/$pkgname-$pkgver.tar.gz") +md5sums=('591dce680bef60e73edccd0220957846') build() { - cd $srcdir/$pkgname-$pkgver + 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 + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install } + +# vim:set ts=2 sw=2 et: |