summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-08-05 21:21:06 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-08-05 21:21:10 +0200
commit0cb718363d60f6e19d52696580595210ad78086a (patch)
tree5aba48e06aae16283ea7d00b5fa038fa1873d7cf /dev-scheme
parentsys-devel/binutils: Version bump for testing, no keywords (diff)
downloadgentoo-0cb718363d60f6e19d52696580595210ad78086a.tar.gz
gentoo-0cb718363d60f6e19d52696580595210ad78086a.tar.bz2
gentoo-0cb718363d60f6e19d52696580595210ad78086a.zip
dev-scheme/slib: use EAPI 8 dosym's -r switch
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/slib/slib-3.2.5-r2.ebuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/dev-scheme/slib/slib-3.2.5-r2.ebuild b/dev-scheme/slib/slib-3.2.5-r2.ebuild
index b9010ada2a92..ef77505b6a2a 100644
--- a/dev-scheme/slib/slib-3.2.5-r2.ebuild
+++ b/dev-scheme/slib/slib-3.2.5-r2.ebuild
@@ -56,28 +56,24 @@ src_install() {
# bin
dodir /usr/bin/
- dosym ../../usr/share/${PN}/${PN}.sh /usr/bin/${PN}
+ dosym -r /usr/share/${PN}/${PN}.sh /usr/bin/${PN}
# env
doenvd "${FILESDIR}"/50slib
- # docs
- doinfo slib.info
- doman slib.1
-
# guile
if has_version '=dev-scheme/guile-3.0*'; then
dodir /usr/share/guile/3.0
- dosym ../../../../usr/share/${PN}/ /usr/share/guile/3.0/${PN}
+ dosym -r /usr/share/${PN}/ /usr/share/guile/3.0/${PN}
elif has_version '=dev-scheme/guile-2.2*'; then
dodir /usr/share/guile/2.2
- dosym ../../../../usr/share/${PN}/ /usr/share/guile/2.2/${PN}
+ dosym -r /usr/share/${PN}/ /usr/share/guile/2.2/${PN}
elif has_version '=dev-scheme/guile-2.0*'; then
dodir /usr/share/guile/2.0
- dosym ../../../../usr/share/${PN}/ /usr/share/guile/2.0/${PN}
+ dosym -r /usr/share/${PN}/ /usr/share/guile/2.0/${PN}
else
dodir /usr/share/guile/1.8
- dosym ../../../../usr/share/${PN}/ /usr/share/guile/1.8/${PN}
+ dosym -r /usr/share/${PN}/ /usr/share/guile/1.8/${PN}
fi
# gambit
@@ -85,8 +81,11 @@ src_install() {
# backwards compatibility
dodir /usr/lib/
- dosym ../../usr/share/${PN}/ /usr/lib/${PN}
+ dosym -r /usr/share/${PN}/ /usr/lib/${PN}
+ # docs
+ doinfo slib.info
+ doman slib.1
einstalldocs
}