summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff2a7e450029d133d549e19fbdc1726169df91ec (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
# Maintainer: <oliver at first.in-berlin.de>
# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=egypt
pkgver=1.11
pkgrel=1
pkgdesc="A simple tool for creating call graphs of C programs"
arch=("any")
url="https://www.gson.org/egypt/"
# 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")
sha256sums=('a204880539b82c013d991e70b278ef5d4a34cd5b68c14aae0612b16ac92d9ec4')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  perl Makefile.PL
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: