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

Levente Polyak anthraxx at archlinux.org
Sun Sep 23 17:00:58 UTC 2018


    Date: Sunday, September 23, 2018 @ 17:00:57
  Author: anthraxx
Revision: 384228

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   60 +++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 31 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-23 17:00:50 UTC (rev 384227)
+++ PKGBUILD	2018-09-23 17:00:57 UTC (rev 384228)
@@ -1,29 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor : Martin Wimpress <code at flexion.org>
-
-pkgname=gufw
-_pkgver=18.04
-pkgver=${_pkgver}.0
-pkgrel=2
-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/trunk/${_pkgver}/+download/gui-ufw-${pkgver}.tar.gz)
-sha256sums=('b6b12524d3d2c6035288f15003c97aa23eef862fdaa78fb621e045cd793374fc')
-sha512sums=('86154bd802e87ecd4bb6cfe74ae50d716d96bf33ca21847d439f602a4d318f7fcfa1f8a7222567ba194dba479f217842be7f1538ad725256458ebc428a33e831')
-
-prepare() {
-  cd gui-ufw-${pkgver}
-  sed 's|python3.5|python3.7|g' -i bin/gufw-pkexec
-}
-
-package(){
-  cd gui-ufw-${pkgver}
-  export XDG_RUNTIME_DIR="/tmp/${pkgname}"
-  python setup.py install --root="${pkgdir}" -O1
-}
-
-# vim: ts=2 sw=2 et:

Copied: gufw/repos/community-any/PKGBUILD (from rev 384227, gufw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-23 17:00:57 UTC (rev 384228)
@@ -0,0 +1,31 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor : Martin Wimpress <code at flexion.org>
+
+pkgname=gufw
+_pkgver=18.10
+pkgver=${_pkgver}.0
+pkgrel=1
+pkgdesc='Uncomplicated way to manage your Linux firewall'
+url='https://gufw.org/'
+arch=('any')
+license=('GPL3')
+depends=('gtk3' 'polkit' 'python' 'python-gobject' 'ufw' 'webkit2gtk' 'desktop-file-utils' 'gtk-update-icon-cache')
+makedepends=('intltool' 'python-distutils-extra')
+source=(https://launchpad.net/gui-ufw/trunk/${_pkgver}/+download/gui-ufw-${pkgver}.tar.gz)
+sha256sums=('c44468550cbcb35ebee0dd8339341447118811ccd0714e79350136117421b93b')
+sha512sums=('a2f733d9622e4f22d230243cc25dca0933eae163933d08a98358a933056cf29630c1fa34d7cc449fb45890c55770023aef1e6a3d72702dc1fd0357f38e09a7e7')
+
+prepare() {
+  cd gui-ufw
+  local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+  sed -E "s|python3\.[0-9]|python${PYTHONVERSION}|g" -i bin/gufw-pkexec
+}
+
+package() {
+  cd gui-ufw
+  # required so desktop, icon and translation files get installed
+  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