diff options
Diffstat (limited to 'extra/ettercap/PKGBUILD')
-rw-r--r-- | extra/ettercap/PKGBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/extra/ettercap/PKGBUILD b/extra/ettercap/PKGBUILD index 5924d10c7..903b506ab 100644 --- a/extra/ettercap/PKGBUILD +++ b/extra/ettercap/PKGBUILD @@ -1,25 +1,24 @@ -# $Id: PKGBUILD 137345 2011-09-07 13:18:49Z andrea $ +# $Id: PKGBUILD 144996 2011-12-13 22:16:57Z eric $ # Maintainer: # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgbase=ettercap pkgname=('ettercap' 'ettercap-gtk') -pkgver=NG_0.7.4.1 +pkgver=NG_0.7.4.2 _origver=${pkgver/_/-} -pkgrel=2 +pkgrel=1 arch=('i686' 'x86_64') url="http://ettercap.sourceforge.net/" license=('GPL') -depends=('ncurses' 'openssl' 'libpcap' 'zlib' 'pcre' 'libtool' 'libnet' - 'pkgconfig' 'gtk2') -source=("http://drizztbsd.github.com/${pkgbase}/dist/${pkgbase}-${_origver}.tar.gz" - 'ettercap.desktop') -md5sums=('c6ae5f86361a85a8e193051f594a74fa' - '2fb9c1fa838f33aab427865ae4fc93ac') +makedepends=('libpcap' 'libltdl' 'libnet' 'gtk2' 'hicolor-icon-theme') +options=('!libtool' '!makeflags' '!emptydirs') +source=("http://drizztbsd.github.com/${pkgbase}/dist/${pkgbase}-${_origver}.tar.gz") +md5sums=('ab2354bf9c91195f06ad0b5d058565a4') build() { cd "${srcdir}" - + sed -i 's/su-to-root -c/gksu/' ${pkgbase}-${_origver}/desktop/ettercap.desktop + cp -r ${pkgbase}-${_origver} ${pkgbase}-${_origver}-gtk cd ${pkgbase}-${_origver} @@ -45,9 +44,8 @@ build() { package_ettercap() { pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - console" - depends=('ncurses' 'openssl' 'libpcap' 'zlib' 'pcre' 'libtool' 'libnet') + depends=('openssl' 'libpcap' 'pcre' 'libltdl' 'libnet') backup=('etc/etter.conf') - options=('!libtool') cd "${srcdir}"/${pkgbase}-${_origver} make DESTDIR="${pkgdir}" install @@ -55,16 +53,18 @@ package_ettercap() { package_ettercap-gtk() { pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - GTK" - depends=('ettercap' 'gtk2') + depends=('ettercap' 'gtk2' 'hicolor-icon-theme') optdepends=('gksu: to run ettercap from the menu') install=ettercap-gtk.install cd "${srcdir}"/${pkgbase}-${_origver}-gtk install -Dm755 src/ettercap "${pkgdir}"/usr/bin/ettercap-gtk - install -Dm644 "${srcdir}"/ettercap.desktop \ + install -Dm644 desktop/ettercap.desktop \ "${pkgdir}"/usr/share/applications/ettercap.desktop install -Dm644 share/ettercap.png \ "${pkgdir}"/usr/share/ettercap/ettercap.png install -Dm644 desktop/ettercap.xpm \ - "${pkgdir}"/usr/share/pixmaps/ettercap.xpm + "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/ettercap.xpm + install -Dm644 desktop/ettercap.svg \ + "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/ettercap.svg } |