[arch-commits] Commit in (5 files)
Martin Wimpress
flexiondotorg at nymeria.archlinux.org
Wed Apr 2 21:56:45 UTC 2014
Date: Wednesday, April 2, 2014 @ 23:56:44
Author: flexiondotorg
Revision: 108761
Added gufw
Added:
gufw/
gufw/repos/
gufw/trunk/
gufw/trunk/PKGBUILD
gufw/trunk/gufw.install
--------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
gufw.install | 11 +++++++++++
2 files changed, 44 insertions(+)
Added: gufw/trunk/PKGBUILD
===================================================================
--- gufw/trunk/PKGBUILD (rev 0)
+++ gufw/trunk/PKGBUILD 2014-04-02 21:56:44 UTC (rev 108761)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=gufw
+pkgver=14.04.2
+pkgrel=2
+pkgdesc="An uncomplicated way to manage your Linux firewall."
+arch=('any')
+url="http://gufw.org"
+license=('GPL3')
+depends=('gnome-icon-theme-symbolic' 'gtk3' 'polkit' 'python2-gobject'
+ 'python2-netifaces' 'ufw' 'webkitgtk')
+optdepends=('polkit-gnome: run from the menu in GNOME shell/flashback'
+ 'lxpolkit: run from the menu in LXDE'
+ 'mate-polkit: run from the menu in MATE')
+makedepends=('intltool' 'python2-distutils-extra')
+source=("https://launchpad.net/gui-ufw/gufw-14.04/14.04/+download/gui-ufw-${pkgver}.tar.gz")
+md5sums=('51950602cf058fe8a3858762e19c8624')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/gui-ufw-${pkgver}"
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/env python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find . -name '*.py')
+ sed -i "s|python ${LOCATIONS[${i}]}|python2 ${LOCATIONS[${i}]}|" bin/gufw
+ sed -i "s|python ${LOCATIONS[${i}]}|python2 ${LOCATIONS[${i}]}|" bin/gufw-pkexec
+}
+
+package(){
+ cd "${srcdir}/gui-ufw-${pkgver}"
+ python2 ./setup.py build install --root="${pkgdir}"
+}
Property changes on: gufw/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: gufw/trunk/gufw.install
===================================================================
--- gufw/trunk/gufw.install (rev 0)
+++ gufw/trunk/gufw.install 2014-04-02 21:56:44 UTC (rev 108761)
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Property changes on: gufw/trunk/gufw.install
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
More information about the arch-commits
mailing list