1 # Contributor: Frozen Fox <frozenfoxz@gmail.com>
3 pkgname=ufw-frontends-gtk
4 _pkgbasename=ufw-frontends
7 pkgdesc="Graphical frontend for Uncomplicated FireWall"
9 url="http://code.google.com/p/ufw-frontends/"
11 depends=('ufw' 'pygtk' 'sudo' 'gksu' 'python2' 'python2-pyinotify')
13 source=(http://${_pkgbasename}.googlecode.com/files/${_pkgbasename}-${pkgver}${_pkgverext}.tar.gz messages.patch)
15 conflicts=('ufw-frontends-qt')
16 md5sums=('a7df3cd1b38427d888712cafc407755e'
17 '9bc965b01da8344bac33ead3231359c7')
19 cd ${srcdir}/${_pkgbasename}-${pkgver}
20 patch -p1 -i $srcdir/messages.patch
21 python2 setup.py build install --root=${pkgdir} || return 1
22 sed -i 's/su-to-root -X -c/gksu/g' ${pkgdir}/usr/share/applications/ufw-gtk.desktop