hasufell-repository/packages/x11-apps/terminator/terminator-scm.exheres-0

52 lines
1.2 KiB
Bash
Raw Normal View History

# Copyright 2014-2016 Julian Ospald <hasufell@hasufell.de>
2014-11-24 17:31:57 +00:00
# Distributed under the terms of the GNU General Public License v2
if ever is_scm; then
SCM_REPOSITORY="http://bazaar.launchpad.net/~gnome-terminator/terminator/"
require scm-bzr
2014-11-25 19:39:33 +00:00
else
require launchpad [ branch=trunk ]
2014-11-24 17:31:57 +00:00
fi
require gtk-icon-cache freedesktop-desktop
require setup-py [ blacklist="3" import=distutils has_bin=true has_lib=true \
multibuild=false ]
2014-11-24 17:31:57 +00:00
DESCRIPTION="Multiple GNOME terminals in one window"
2014-11-25 19:39:17 +00:00
HOMEPAGE="http://gnometerminator.blogspot.de/p/introduction.html"
LICENCES="GPL-2"
SLOT="0"
2014-11-24 17:31:57 +00:00
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
run:
dev-libs/keybinder
dev-libs/vte
dev-python/psutil[python_abis:*(-)?]
dev-python/notify-python[python_abis:*(-)?]
gnome-bindings/pygobject:2[python_abis:*(-)?]
gnome-bindings/pygtk:2[python_abis:*(-)?]
2014-11-24 17:31:57 +00:00
build:
dev-util/intltool
"
src_install() {
setup-py_src_install
edo rm -r "${IMAGE}"/usr/bin
}
2014-11-24 17:31:57 +00:00
pkg_preinst() {
gtk-icon-cache_pkg_preinst
}
pkg_postinst() {
gtk-icon-cache_pkg_postinst
freedesktop-desktop_pkg_postinst
}
pkg_postrm() {
gtk-icon-cache_pkg_postrm
freedesktop-desktop_pkg_postrm
}