Skip to content
Snippets Groups Projects
Commit 48414710 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

upgpkg: 16.10.0-1

parent 33925bf8
No related branches found
Tags 16.10.0-1
No related merge requests found
# Maintainer : Martin Wimpress <code@flexion.org>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor : Martin Wimpress <code@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')
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
}
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 "${srcdir}/gui-ufw-${pkgver}"
export XDG_RUNTIME_DIR="/tmp/${pkgname}"
python2 ./setup.py install --root="${pkgdir}"
cd gui-ufw-${pkgver}
export XDG_RUNTIME_DIR="/tmp/${pkgname}"
python setup.py install --root="${pkgdir}" -O1
}
# vim: ts=2 sw=2 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment