Date: Tuesday, April 22, 2014 @ 20:52:54 Author: guillaume Revision: 109992
archrelease: copy trunk to community-any Added: terminator/repos/community-any/PKGBUILD (from rev 109991, terminator/trunk/PKGBUILD) terminator/repos/community-any/terminator.install (from rev 109991, terminator/trunk/terminator.install) Deleted: terminator/repos/community-any/PKGBUILD terminator/repos/community-any/terminator.install --------------------+ PKGBUILD | 83 ++++++++++++++++++++++++--------------------------- terminator.install | 24 +++++++------- 2 files changed, 52 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-04-22 18:49:06 UTC (rev 109991) +++ PKGBUILD 2014-04-22 18:52:54 UTC (rev 109992) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Guillaume ALAUX <guilla...@archlinux.org> -# Contributor: Allan McRae <al...@archlinux.org> -# Contributor: fancris3 <fancris3 at gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=terminator -pkgver=0.97 -pkgrel=1 -pkgdesc='Terminal emulator that supports tabs and grids' -arch=('any') -url='http://www.tenshu.net/p/terminator.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' 'xdg-utils' 'python2-notify' 'python2-keybinder2') -makedepends=('desktop-file-utils' 'gettext' 'intltool') -install=terminator.install -source=("http://launchpad.net/terminator/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") -sha256sums=('0281b568913f392eec92ebee3c6fea15afe4f4e01869bad38d9efe0eb305be49') - -build() { - cd ${srcdir}/trunk - - # 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 - - python2 setup.py build -} - -package() { - cd ${srcdir}/trunk - - python2 setup.py install --skip-build --root=${pkgdir} - - rm -f ${pkgdir}/usr/share/applications/${pkgname}.desktop - rm -f ${pkgdir}/usr/share/icons/hicolor/icon-theme.cache - install -D -m644 ${srcdir}/trunk/data/${pkgname}.desktop.in ${pkgdir}/usr/share/applications/${pkgname}.desktop - sed -i 's|_||' ${pkgdir}/usr/share/applications/${pkgname}.desktop -} Copied: terminator/repos/community-any/PKGBUILD (from rev 109991, terminator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-04-22 18:52:54 UTC (rev 109992) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Guillaume ALAUX <guilla...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: fancris3 <fancris3 at gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=terminator +pkgver=0.97 +pkgrel=2 +pkgdesc='Terminal emulator that supports tabs and grids' +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' 'xdg-utils' 'python2-notify' 'python2-keybinder2') +makedepends=('desktop-file-utils' 'gettext' 'intltool') +install=terminator.install +source=("http://launchpad.net/terminator/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") +sha256sums=('9131847023fa22f11cf812f6ceff51b5d66d140b6518ad41d7fa8b0742bfd3f7') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # 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 + + python2 setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + python2 setup.py install --skip-build --root="${pkgdir}" + + rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache" +} Deleted: terminator.install =================================================================== --- terminator.install 2014-04-22 18:49:06 UTC (rev 109991) +++ terminator.install 2014-04-22 18:52:54 UTC (rev 109992) @@ -1,12 +0,0 @@ -post_install() { - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} - Copied: terminator/repos/community-any/terminator.install (from rev 109991, terminator/trunk/terminator.install) =================================================================== --- terminator.install (rev 0) +++ terminator.install 2014-04-22 18:52:54 UTC (rev 109992) @@ -0,0 +1,12 @@ +post_install() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true +} +