Skip to content

Instantly share code, notes, and snippets.

@tcyrus
Created March 29, 2015 21:56
Show Gist options
  • Save tcyrus/fa344da20111531c825a to your computer and use it in GitHub Desktop.
Save tcyrus/fa344da20111531c825a to your computer and use it in GitHub Desktop.
Heroku Client Ebuild
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Heroku client."
HOMEPAGE="https://github.com/heroku/heroku"
SRC_URI="https://github.com/heroku/heroku/archive/v3.30.3.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
src_install() {
mkdir -p "${D}/opt/heroku-client"
cp -R "${S}" "${D}/opt/" || die "Install failed!"
dosym /opt/heroku-client/bin/heroku /usr/bin/heroku
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment