[arch-commits] Commit in gufw/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Oct 26 16:17:46 UTC 2016
Date: Wednesday, October 26, 2016 @ 16:17:45
Author: anthraxx
Revision: 193712
upgpkg: gufw 16.10.0-1
Modified:
gufw/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++----------------------
1 file changed, 16 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-26 16:16:45 UTC (rev 193711)
+++ PKGBUILD 2016-10-26 16:17:45 UTC (rev 193712)
@@ -1,29 +1,23 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor : Martin Wimpress <code at flexion.org>
pkgname=gufw
-pkgver=15.10.0
-pkgrel=2
-pkgdesc="An uncomplicated way to manage your Linux firewall."
+_pkgver=16.10
+pkgver=16.10.0
+pkgrel=1
+pkgdesc='Uncomplicated way to manage your Linux firewall'
+url='https://gufw.org/'
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')
+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')
-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 gui-ufw-${pkgver}
+ export XDG_RUNTIME_DIR="/tmp/${pkgname}"
+ python setup.py install --root="${pkgdir}" -O1
}
-package(){
- cd "${srcdir}/gui-ufw-${pkgver}"
- export XDG_RUNTIME_DIR="/tmp/${pkgname}"
- python2 ./setup.py install --root="${pkgdir}"
-}
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list