# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 inherit versionator DESCRIPTION="MatterControl is a free, Open Source app that lets you organize and manage your 3D prints" HOMEPAGE="http://www.mattercontrol.com" SRC_URI="https://${PN}.appspot.com/downloads/${PN}-linux/release?ref=5NEP8W -> MatterControlSetup-${PV}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="app-arch/deb2targz" RDEPEND=">=dev-lang/mono-3.2.8" WORKING_VERSION=$(get_version_component_range 1-2 ${PV}) S="${WORKDIR}"/${PN}-${WORKING_VERSION} src_prepare() { deb2targz ${PN}-${WORKING_VERSION}.deb } src_install() { tar xJf ${PN}-${WORKING_VERSION}.tar.xz -C "${D}" }