[arch-commits] Commit in terminator/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sat Feb 11 14:52:35 UTC 2017
Date: Saturday, February 11, 2017 @ 14:52:35
Author: bgyorgy
Revision: 211857
upgpkg: terminator 1.90-2
Fix dependencies
Modified:
terminator/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-11 14:24:13 UTC (rev 211856)
+++ PKGBUILD 2017-02-11 14:52:35 UTC (rev 211857)
@@ -7,13 +7,13 @@
pkgname=terminator
pkgver=1.90
-pkgrel=1
+pkgrel=2
pkgdesc='Terminal emulator that supports tabs and grids'
arch=('any')
-url='http://gnometerminator.blogspot.fr/p/introduction.html'
+url='https://gnometerminator.blogspot.com/p/introduction.html'
license=('GPL2')
-depends=('vte3' 'gconf' 'pygtk' 'xdg-utils' 'python2-notify' 'python2-psutil' 'python2-gobject' 'libkeybinder3')
-makedepends=('desktop-file-utils' 'gettext' 'intltool')
+depends=('libkeybinder3' 'libnotify' 'python2-cairo' 'python2-dbus' 'python2-psutil' 'python2-gobject' 'vte3' 'xdg-utils')
+makedepends=('intltool')
source=("https://launchpad.net/terminator/gtk3/${pkgver:0:3}/+download/${pkgname}-${pkgver}.tar.gz"
"https://launchpad.net/terminator/gtk3/${pkgver:0:3}/+download/${pkgname}-${pkgver}.tar.gz.asc")
md5sums=('7159b1e63e44184ddabdca023d41f763'
@@ -22,7 +22,7 @@
'SKIP')
validpgpkeys=('FE67C001C72200A71DE9EFA5DB69E1780B95EF32')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# python2 fix
@@ -31,6 +31,13 @@
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
done
+ # fix run without gconf
+ sed -i 's/except ImportError:/except ValueError:/' terminatorlib/config.py
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
python2 setup.py build
}
More information about the arch-commits
mailing list