Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2616
Signed-off-by: David Seifert <soap@gentoo.org>
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils qmake-utils
+
+DESCRIPTION="A Qt4 based small calculator application"
+HOMEPAGE="http://www.qt-apps.org/content/show.php/Qalculator?content=101326"
+SRC_URI="http://www.qt-apps.org/CONTENT/content-files/101326-${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtgui:4"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}-src"
+
+src_configure() {
+ eqmake4 Qalculator.pro
+}
+
+src_install() {
+ dobin Qalculator
+ make_desktop_entry Qalculator Qalculator accessories-calculator
+}