diff options
author | snafu | 2017-11-10 09:55:59 +0100 |
---|---|---|
committer | snafu | 2017-11-10 09:55:59 +0100 |
commit | dfa3fe7860f4322784238449574e42fdf56d122d (patch) | |
tree | d1809f9e59a621a1068a31a7f694e4ce90a7a851 | |
parent | 98ebe9bd35d5159da71cdc11852bac1313be45b9 (diff) | |
download | aur-dfa3fe7860f4322784238449574e42fdf56d122d.tar.gz |
* compat fixes
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = env-modules pkgdesc = Provides for an easy dynamic modification of a user's environment via modulefile. pkgver = 4.0.0 - pkgrel = 0 + pkgrel = 1 url = https://sourceforge.net/projects/modules/ install = env-modules.install arch = i686 @@ -1,7 +1,7 @@ # Maintainer: snafu pkgname=env-modules pkgver=4.0.0 -pkgrel=0 +pkgrel=1 epoch= pkgdesc="Provides for an easy dynamic modification of a user's environment via modulefile." arch=('i686' 'x86_64') @@ -75,5 +75,12 @@ package() { mkdir -p "$_profiled" ln -s ${config_path}/${moduledir}/init/profile-compat.csh $_profiled/env-modules.csh ln -s ${config_path}/${moduledir}/init/profile-compat.sh $_profiled/env-modules.sh + + # Work around, since module needs <PREFIX>/init for autoinitialization + ln -s ${config_path}/${moduledir}/init ${pkgdir}/usr/init + + # Keep up with old versions: + ln -s ${config_path}/${moduledir}/init/perl.pm ${pkgdir}${config_path}/${moduledir}/init/perl + ln -s ${config_path}/${moduledir}/init/python.py ${pkgdir}${config_path}/${moduledir}/init/phyon } |