diff options
author | Antonio Vázquez Blanco | 2015-08-26 17:05:01 +0200 |
---|---|---|
committer | Antonio Vázquez Blanco | 2015-08-26 17:05:01 +0200 |
commit | 3ca45f088522beba5d338804ee1e547d1b171eb5 (patch) | |
tree | a6578b0d2807677842882690d6767cc9122b7313 /PKGBUILD | |
download | aur-3ca45f088522beba5d338804ee1e547d1b171eb5.tar.gz |
Initial import.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0d4220cdec5f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> +pkgname=graudit +pkgver=1.9 +pkgrel=1 +pkgdesc="Grep rough source code auditing tool." +arch=(any) +url="https://github.com/wireghoul/graudit" +license=('GPL') +source=(http://www.justanotherhacker.com/projects/${pkgname}-${pkgver}_src.tar.gz) +md5sums=('bc7d05f29c87fc21fa3d16da690aead1') + +build() { + cd "$pkgname-$pkgver" + + # TODO: Should only use /usr as prefix but makefile doesn't support DESTDIR... + ./configure --prefix "$pkgdir/usr/bin" --dbdir "$pkgdir/usr/share/graudit" + + # TODO: In the future should make here... +} + +package() { + cd "$pkgname-$pkgver" + + # TODO: Should use DESTDIR but it is not supported yet... + # make DESTDIR="$pkgdir/" install + make install +} |