summaryrefslogtreecommitdiff
path: root/community/ettercap/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-18 17:12:10 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-18 17:12:10 +0100
commitfb5b6b28f363547abcbfa026fcae050236861425 (patch)
tree850e29f1f9f42ada20e1c6818316988505970dae /community/ettercap/PKGBUILD
parent67eabbfbd9364ee57f122c9ec9a03dd61bba850b (diff)
parentab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/ettercap/PKGBUILD community/mplayer2/PKGBUILD community/nginx/PKGBUILD community/pidgin-libnotify/PKGBUILD core/util-linux/PKGBUILD extra/aspell-pt/PKGBUILD extra/glpk/PKGBUILD extra/libgdiplus/PKGBUILD extra/llvm/PKGBUILD extra/mesa/PKGBUILD extra/rhythmbox/PKGBUILD extra/texmacs/PKGBUILD
Diffstat (limited to 'community/ettercap/PKGBUILD')
-rw-r--r--community/ettercap/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/ettercap/PKGBUILD b/community/ettercap/PKGBUILD
index 79fa70f9d..68ae89717 100644
--- a/community/ettercap/PKGBUILD
+++ b/community/ettercap/PKGBUILD
@@ -1,35 +1,34 @@
-# $Id: PKGBUILD 79575 2012-11-07 21:26:51Z jelle $
+# $Id: PKGBUILD 80196 2012-11-17 14:33:46Z jelle $
# Maintainer:
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase=ettercap
pkgname=('ettercap' 'ettercap-gtk')
pkgver=0.7.5
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
-url="http://ettercap.sourceforge.net/"
+url="http://ettercap.github.com/ettercap/"
license=('GPL')
makedepends=('ghostscript' 'cmake' 'libpcap' 'libltdl' 'libnet' 'gtk2')
options=('!libtool' '!makeflags' '!emptydirs')
-source=("http://sourceforge.net/projects/ettercap/files/$pkgbase/$pkgver-Assimilation/$pkgbase-$pkgver.tar.gz")
+source=("https://github.com/downloads/Ettercap/$pkgbase/$pkgbase-$pkgver.tar.gz" "ettercap.desktop")
md5sums=('ab2354bf9c91195f06ad0b5d058565a4')
build() {
cd "${srcdir}"
-#sed -i 's/su-to-root -c/gksu/' ${pkgbase}-${pkgver}/desktop/ettercap.desktop
cp -r ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-gtk
cd ${pkgbase}-${pkgver}
mkdir build
cd build
- cmake -D ENABLE_GTK=OFF -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../
+ cmake -D ENABLE_GTK=ON -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../
make
cd "$srcdir"/${pkgbase}-${pkgver}-gtk
mkdir build
cd build
- cmake -D INSTALL_PREFX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../
+ cmake -D ENABLE_GTK=ON -D INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=RELEASE ../
make
}
@@ -49,4 +48,5 @@ package_ettercap-gtk() {
cd "${srcdir}"/${pkgbase}-${pkgver}-gtk/build
install -Dm755 src/ettercap "${pkgdir}"/usr/bin/ettercap-gtk
}
-md5sums=('037b28cd94efa086a795060fc0f76080')
+md5sums=('037b28cd94efa086a795060fc0f76080'
+ 'f9281fe1735ceba59753bfe442715bb6')