version bump app-admin/drush-8.5.0
This commit is contained in:
30
app-admin/drush/drush-8.5.0.ebuild
Normal file
30
app-admin/drush/drush-8.5.0.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Drush is a command line shell and scripting interface for Drupal"
|
||||
HOMEPAGE="https://github.com/drush-ops/drush"
|
||||
MY_PV=${PV}
|
||||
SRC_URI="https://github.com/drush-ops/drush/releases/download/${PV}/drush.phar -> ${P}.phar"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/php-7.4.0"
|
||||
RDEPEND="dev-lang/php[zip]"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${A}" "${WORKDIR}"
|
||||
S=${WORKDIR}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${A} drush-${MY_PV}
|
||||
dosym drush-${MY_PV} /usr/bin/drush
|
||||
dosym drush-${MY_PV} /usr/bin/drush8
|
||||
}
|
||||
|
Reference in New Issue
Block a user