[arch-commits] Commit in gufw/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Oct 26 16:17:53 UTC 2016


    Date: Wednesday, October 26, 2016 @ 16:17:52
  Author: anthraxx
Revision: 193713

archrelease: copy trunk to community-any

Added:
  gufw/repos/community-any/PKGBUILD
    (from rev 193712, gufw/trunk/PKGBUILD)
Deleted:
  gufw/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   52 +++++++++++++++++++++++-----------------------------
 1 file changed, 23 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-26 16:17:45 UTC (rev 193712)
+++ PKGBUILD	2016-10-26 16:17:52 UTC (rev 193713)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
-
-pkgname=gufw
-pkgver=15.10.0
-pkgrel=2
-pkgdesc="An uncomplicated way to manage your Linux firewall."
-arch=('any')
-url="http://gufw.org"
-license=('GPL3')
-depends=('gtk3' 'polkit' 'python2-gobject' 'python2-netifaces' 'ufw' 'webkitgtk')
-makedepends=('intltool' 'python2-distutils-extra')
-source=("https://launchpad.net/gui-ufw/15.10/15.10/+download/gui-ufw-${pkgver}.tar.gz")
-sha256sums=('58fee07bc33f9be615e899b943535ca8755fdf9262010c2580a0176d2a1c2443')
-
-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}"
-    export XDG_RUNTIME_DIR="/tmp/${pkgname}"
-    python2 ./setup.py install --root="${pkgdir}"
-}

Copied: gufw/repos/community-any/PKGBUILD (from rev 193712, gufw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-26 16:17:52 UTC (rev 193713)
@@ -0,0 +1,23 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor : Martin Wimpress <code at flexion.org>
+
+pkgname=gufw
+_pkgver=16.10
+pkgver=16.10.0
+pkgrel=1
+pkgdesc='Uncomplicated way to manage your Linux firewall'
+url='https://gufw.org/'
+arch=('any')
+license=('GPL3')
+depends=('gtk3' 'polkit' 'python-gobject' 'ufw' 'webkit2gtk' 'desktop-file-utils' 'gtk-update-icon-cache')
+makedepends=('intltool' 'python-distutils-extra')
+source=(https://launchpad.net/gui-ufw/${_pkgver}/${_pkgver}/+download/gui-ufw-${pkgver}.tar.gz)
+sha512sums=('7068d4308749af92c1c4d2e1787da70666399d67b6db81bfff039c649991ac077fdc8e5800165157c36b324869a35062b5c774aa32f80326f3793d2e56cb27ce')
+
+package(){
+  cd gui-ufw-${pkgver}
+  export XDG_RUNTIME_DIR="/tmp/${pkgname}"
+  python setup.py install --root="${pkgdir}" -O1
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list