updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ufw-frontends-gtk / PKGBUILD
blob887581de293cfac7c67d2c7ccc89e3ce66664dda
1 # Contributor: Frozen Fox <frozenfoxz@gmail.com>
3 pkgname=ufw-frontends-gtk
4 _pkgbasename=ufw-frontends
5 pkgver=0.3.1
6 pkgrel=1
7 pkgdesc="Graphical frontend for Uncomplicated FireWall"
8 arch=('any')
9 url="http://code.google.com/p/ufw-frontends/"
10 license=('GPL3')
11 depends=('ufw' 'pygtk' 'sudo' 'gksu' 'python2' 'python2-pyinotify')
12 makedepends=('')
13 source=(http://${_pkgbasename}.googlecode.com/files/${_pkgbasename}-${pkgver}${_pkgverext}.tar.gz messages.patch)
14 install=
15 conflicts=('ufw-frontends-qt')
16 md5sums=('a7df3cd1b38427d888712cafc407755e'
17          '9bc965b01da8344bac33ead3231359c7')
18 build() {
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