blob: 463d6fb32043ef39c4f6eae69152a20d5f5dc71e (
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
26
27
28
29
30
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
}
|