summaryrefslogtreecommitdiff
blob: 11f5c44e3b2b25f56be8ef4612578a3260e00216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

inherit distutils

DESCRIPTION="A programm for automating tasks in Linux"
HOMEPAGE="http://autokey.sourceforge.net/"
SRC_URI="http://autokey.googlecode.com/files/${PN}_${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=dev-python/python-xlib-0.14
	dev-python/notify-python
	dev-python/pygtk"

RDEPEND="${DEPEND}"

S="${WORKDIR}/build"

src_install(){
	distutils_src_install
	newinitd "${S}"/debian/autokey-gtk.init autokey || die
}

pkg_postinst () {
	einfo "You should now run /etc/init.d/dbus reload"
	einfo " You may now start the ${PN} deamon with /etc/init.d/autokey start."
	einfo " If you want to start the deamon every time Gentoo starts,"
	einfo " you should run rc-update add autokey default"
}