dev-php/phpunit: Change absolute symlinks into relative ones

Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
Brian Evans
2017-08-10 14:58:41 -04:00
parent e57ccb52dc
commit eaa00354fc
4 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -28,7 +28,7 @@ src_install() {
insinto /usr/share/php/phpunit
insopts -m755
newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
}
pkg_postinst() {

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -28,7 +28,7 @@ src_install() {
insinto /usr/share/php/phpunit
insopts -m755
newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
}
pkg_postinst() {

View File

@@ -32,7 +32,7 @@ src_install() {
insinto /usr/share/php/phpunit
insopts -m755
newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
}
pkg_postinst() {

View File

@@ -46,7 +46,7 @@ src_install() {
doins "${FILESDIR}/autoload.php"
exeinto /usr/share/php/PHPUnit
doexe phpunit
dosym /usr/share/php/PHPUnit/phpunit /usr/bin/phpunit
dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
}
pkg_postinst() {