[arch-commits] Commit in gufw/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Apr 29 08:15:44 UTC 2020


    Date: Wednesday, April 29, 2020 @ 08:15:44
  Author: anthraxx
Revision: 622193

upgpkg: gufw 20.04.1-1

Modified:
  gufw/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 08:15:21 UTC (rev 622192)
+++ PKGBUILD	2020-04-29 08:15:44 UTC (rev 622193)
@@ -2,9 +2,8 @@
 # Contributor : Martin Wimpress <code at flexion.org>
 
 pkgname=gufw
-_pkgver=19.10
-pkgver=${_pkgver}.0
-pkgrel=2
+pkgver=20.04.1
+pkgrel=1
 pkgdesc='Uncomplicated way to manage your Linux firewall'
 url='https://gufw.org/'
 arch=('any')
@@ -11,22 +10,27 @@
 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=('18c155ef7b62e457e7c89fb9827db531a453d3fd766911c1b09c9fc716255cba')
-sha512sums=('4155c7cd729baecf7ae49e91e72ef8020d8e289379acc5273211031faf63056ebb795577d761cf79694ed9a189a2970b50264822e64e0863d0b96deaaab3ef81')
+source=(https://github.com/costales/gufw/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('fbc5a8ce863c3178354230ca4224b6c32e2aee691d3db1ba397f0b0c8a7acdd3d0a2f739c62ec5f99957e422387fd3ccee4ddce9959160c3c50c81a769b49981')
+b2sums=('af273dc6430ae2d77eb857f3b00428ca12ace441e355642fd44adfaf0f6b369baa2fbd5d25ec57a8317911166330777d2ef94ea7a59eff8ddb6e51d6c322ccfd')
 
 prepare() {
-  cd gui-ufw-${pkgver}
+  cd ${pkgname}-${pkgver}
   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
   sed -E 's/(loginctl\|grep \$\(whoami\))/\1|sort -n|tail -n 1/g' -i bin/gufw
 }
 
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
 package() {
-  cd gui-ufw-${pkgver}
+  cd ${pkgname}-${pkgver}
   # required so desktop, icon and translation files get installed
   export XDG_RUNTIME_DIR="/tmp/${pkgname}"
-  python setup.py install --prefix=/usr --root="${pkgdir}" -O1
+  python setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list