diff options
author | Baptiste Jonglez | 2015-09-10 11:31:20 +0200 |
---|---|---|
committer | Baptiste Jonglez | 2015-09-10 11:31:20 +0200 |
commit | 404906c470bf9317f8ceb722557fbbcb4087a49b (patch) | |
tree | 0c0bb12fae9bc8c80be7296b7b02cbb145355094 | |
download | aur-404906c470bf9317f8ceb722557fbbcb4087a49b.tar.gz |
egypt: Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4005d2a67a3c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = egypt + pkgdesc = A simple tool for creating call graphs of C programs + pkgver = 1.10 + pkgrel = 1 + url = http://www.gson.org/egypt/ + arch = any + license = GPL + license = PerlArtistic + makedepends = perl + depends = perl + depends = gcc + depends = graphviz + optdepends = gcc: for generating an intermediate representation of C code (RTL files) + optdepends = graphviz: for visualising the resulting graph + source = http://www.gson.org/egypt/download/egypt-1.10.tar.gz + md5sums = 591dce680bef60e73edccd0220957846 + +pkgname = egypt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d9060d9f15da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> +pkgname=egypt +pkgver=1.10 +pkgrel=1 +pkgdesc="A simple tool for creating call graphs of C programs" +arch=("any") +url="http://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=("http://www.gson.org/egypt/download/$pkgname-$pkgver.tar.gz") +md5sums=('591dce680bef60e73edccd0220957846') + +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: |