summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD56
2 files changed, 43 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4da674aaca0..ea53f4e44d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,23 @@
# Generated by mksrcinfo v8
-# Fri Jun 30 18:09:24 UTC 2017
+# Fri Jun 30 18:15:48 UTC 2017
pkgbase = terminator-bzr
- pkgdesc = A tool for arranging multiple terminals in a single window
+ pkgdesc = Terminal emulator that supports tabs and grids (bzr trunk developmental version)
pkgver = 1.0.r1776
pkgrel = 1
- url = http://www.tenshu.net/terminator/
- install = terminator.install
- arch = i686
- arch = x86_64
- license = GPL
- makedepends = bzr
+ url = http://gnometerminator.blogspot.fr/p/introduction.html
+ arch = any
+ license = GPL2
makedepends = desktop-file-utils
makedepends = gettext
makedepends = intltool
- depends = pygtk
- depends = python2-keybinder2
- depends = python2-notify
+ makedepends = bzr
depends = vte
+ depends = pygtk
+ depends = dbus-glib
depends = xdg-utils
+ depends = python2-notify
+ depends = python2-keybinder2
depends = python2-psutil
- optdepends = gnome-python: gnome-terminal profile support
provides = terminator
conflicts = terminator
source = terminator::bzr+https://code.launchpad.net/~gnome-terminator/terminator/trunk
diff --git a/PKGBUILD b/PKGBUILD
index 4be553de962..b08938e8ef7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,44 +1,54 @@
+# $Id$
+# Original Community Repo
+# =======================
+# Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: fancris3 <fancris3 at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
+# Modifications to Use Bzr Trunk Source
+# =====================================
# Maintainer: Quan Guo <guotsuan@gamil.com>, James Harvey <jamespharvey20@gmail.com>
-# Contributor: TDY <tdy@gmx.com>
-# Contributor: zhuqin <zhuqin83@gmail.com>
+# * This .PKGFILE as closely as possible matches community's terminator 0.98-2
pkgname=terminator-bzr
+_pkgname=terminator
pkgver=1.0.r1776
pkgrel=1
-pkgdesc="A tool for arranging multiple terminals in a single window"
-arch=('i686' 'x86_64')
-url="http://www.tenshu.net/terminator/"
-license=('GPL')
-depends=('pygtk' 'python2-keybinder2' 'python2-notify'
- 'vte' 'xdg-utils' 'python2-psutil')
-makedepends=('bzr' 'desktop-file-utils' 'gettext' 'intltool')
-optdepends=('gnome-python: gnome-terminal profile support')
+pkgdesc='Terminal emulator that supports tabs and grids (bzr trunk developmental version)'
+arch=('any')
+url='http://gnometerminator.blogspot.fr/p/introduction.html'
+license=('GPL2')
+# Note: the package named 'vte3' is actually vte for GTK 3
+# and terminator seems to require vte for GTK 2
+depends=('vte' 'pygtk' 'dbus-glib' 'xdg-utils' 'python2-notify' 'python2-keybinder2' 'python2-psutil')
+makedepends=('desktop-file-utils' 'gettext' 'intltool' 'bzr')
provides=('terminator')
conflicts=('terminator')
-_pkgname=terminator
source=("${_pkgname}::bzr+https://code.launchpad.net/~gnome-terminator/terminator/trunk")
md5sums=('SKIP')
-install=terminator.install
-
-
pkgver() {
cd ${srcdir}/${_pkgname}
echo $(tail -n 1 terminatorlib/version.py | sed "s|^APP_VERSION = '||" | sed "s|'$||").r$(bzr revno "${srcdir}/${_pkgname}")
}
build() {
- rm -rf "$srcdir/${_pkgname}-build"
- cp -r "$srcdir/${_pkgname}" "$srcdir/${_pkgname}-build"
- cd "$srcdir/${_pkgname}"
+ cd "${srcdir}/${_pkgname}"
+
+ # python2 fix
+ for file in terminatorlib/{,plugins/}*.py; do
+ sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+ done
- msg "Starting make..."
- find -type f -name '*.py' -exec sed -i '1s,python,&2,' '{}' \;
- python2 setup.py build
+ python2 setup.py build
}
package() {
- cd "$srcdir/${_pkgname}-build"
- python2 setup.py install --prefix=/usr --root="$pkgdir"
- rm -f "$pkgdir/usr/share/icons/hicolor/icon-theme.cache"
+ cd "${srcdir}/${_pkgname}"
+
+ python2 setup.py install --skip-build --root="${pkgdir}"
+
+ rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
}