[arch-commits] Commit in gufw/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Aug 21 17:58:57 UTC 2019
Date: Wednesday, August 21, 2019 @ 17:58:56
Author: anthraxx
Revision: 500431
archrelease: copy trunk to community-any
Added:
gufw/repos/community-any/PKGBUILD
(from rev 500430, gufw/trunk/PKGBUILD)
Deleted:
gufw/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-21 17:58:35 UTC (rev 500430)
+++ PKGBUILD 2019-08-21 17:58:56 UTC (rev 500431)
@@ -1,31 +0,0 @@
-# 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:
Copied: gufw/repos/community-any/PKGBUILD (from rev 500430, gufw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-21 17:58:56 UTC (rev 500431)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor : Martin Wimpress <code at flexion.org>
+
+pkgname=gufw
+_pkgver=19.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=('18c155ef7b62e457e7c89fb9827db531a453d3fd766911c1b09c9fc716255cba')
+sha512sums=('4155c7cd729baecf7ae49e91e72ef8020d8e289379acc5273211031faf63056ebb795577d761cf79694ed9a189a2970b50264822e64e0863d0b96deaaab3ef81')
+
+prepare() {
+ cd gui-ufw-${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
+}
+
+package() {
+ cd gui-ufw-${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
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list