drush version 5.1

This commit is contained in:
Micha Glave 2012-04-26 13:12:46 +02:00
parent 102163db2b
commit d378aaf08d
2 changed files with 10 additions and 7 deletions

View File

@ -1,2 +1,2 @@
DIST drush-4.5.tar.gz 282760 RMD160 29566326577ebafb5321941c9abf92462bec7891 SHA1 81446d1bc61dc47a19050f809faa336633aeef17 SHA256 11a8ba3acbebf0be45407dee54a4c59cb9da7dfb461cf4ed9e27e78b2968fc99
EBUILD drush-4.5.ebuild 1050 RMD160 6ae836ee55e03275ce21a93df58fb18f27c7f9c7 SHA1 d2cf7c811c6584c34edc85018496b85c1113ff3d SHA256 5360da46a35830d73b50507f5f5b57f93a2807cd7a6dd3881305aee1e7b9349d
DIST drush-5.1.tar.gz 398390 RMD160 972ff3a2c8baa6513f7e9b889086861ff771511c SHA1 8575d6e38b7a78af4714d0509181b9b5d1b60246 SHA256 24c701e8e4da60261210227f5e3c666989ce79234b222a8b1f17de137e7efd67
EBUILD drush-5.1.ebuild 1161 RMD160 c69aa22fc0ef2fe9f355c06653e11dc00f9ebefb SHA1 a86c1d59bc25b79e3751736bf799cf8b5837cc87 SHA256 e0f14c3cfca69da483eac8491151a6ba9f4e429169aebfa98d491fcdd22774f2

View File

@ -20,6 +20,11 @@ S="${WORKDIR}/${PN}"
src_prepare() {
sed -i -e "s!/share/doc/drush!/share/doc/${P}!" includes/environment.inc || die
sed -i -e "s!\.php'!.php.bz2'!" commands/core/docs.drush.inc || die
# preparing bashcomp
mkdir bashcomp && mv drush.complete.sh bashcomp/drush || die
# cleanup
rm drush.bat includes/.gitignore
}
src_install() {
@ -28,14 +33,12 @@ src_install() {
use examples && docs="${docs} examples"
insinto /usr/share/drush
doins -r .
doins -r drush.php drush.info includes commands lib LICENSE.txt
exeinto /usr/share/drush
doexe drush
dosym /usr/share/drush/drush /usr/bin/drush
dodoc -r ${docs}
# cleanup
for i in ${docs} LICENSE.txt drush.bat examples includes/.gitignore tests ; do
rm -rf "${D}/usr/share/drush/${i}"
done
keepdir /etc/drush
insinto /usr/share/bash-completion
doins bashcomp/drush
}