From 4c7affb892e7c6983ef7fff4f5b1e5847b03f6d9 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Tue, 7 Mar 2017 15:47:21 -0300 Subject: ace-1.10-4: available in [pcr] --- pcr/ace/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/ace/PKGBUILD diff --git a/pcr/ace/PKGBUILD b/pcr/ace/PKGBUILD new file mode 100644 index 000000000..5a12de88c --- /dev/null +++ b/pcr/ace/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Márcio Silva + +pkgname='ace' +pkgver='1.10' +pkgrel=4 +pkgdesc='A simple yet powerful VoIP Corporate Directory enumeration tool that mimics the behavior of an IP Phone in order to download the name and extension entries that a given phone can display on its screen interface.' +url='http://ucsniff.sourceforge.net/ace.html' +license=('GPL') +depends=('libpcap') +arch=('i686' 'x86_64' 'armv7h') +source=("http://downloads.sourceforge.net/ucsniff/ace-$pkgver.tar.gz") +sha1sums=('747aee37f74e71101317809797cdaed7077dd29e') + +prepare() { + cd "$srcdir/ace-$pkgver" + + sed -i 's#linux/if_tr.h#netinet/if_tr.h#' client.h + sed -i "s:gcc :gcc $CFLAGS :g" Makefile +} + +build() { + cd "$srcdir/ace-$pkgver" + + make +} + +package() { + cd "$srcdir/ace-$pkgver" + + install -Dm755 ace "$pkgdir/usr/bin/ace" +} -- cgit v1.2.3