smoverlay/app-admin/drush/drush-8.2.1.ebuild

26 lines
498 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="The command line interface for Drupal"
HOMEPAGE="https://drush.org/"
SRC_URI="https://github.com/${PN}-ops/${PN}/releases/download/${PV}/${PN}.phar -> ${P}.phar"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/php:*"
RDEPEND="${DEPEND}"
src_unpack() {
mkdir -p "${S}"
cp -L "${DISTDIR}/${A}" "${S}/${PN}"
}
src_install() {
dobin "${PN}"
}