summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Neumärker2019-11-22 19:41:34 +0100
committerFelix Neumärker2019-11-22 19:41:34 +0100
commitbe4cf5a6eb45c7030cc5f349141f6c87e193847b (patch)
tree9724ad2b10800bcd2dbcd5ab0ef0abcaa51b01e7
parent13c07afd4e43e479f223a2abc4f2180fe5333af5 (diff)
downloadaur-be4cf5a6eb45c7030cc5f349141f6c87e193847b.tar.gz
bump to 4.4.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
-rw-r--r--moduleshome.patch13
3 files changed, 7 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2377e244a2b6..1aebe70fe18c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = env-modules-tcl
pkgdesc = Provides for an easy dynamic modification of a user's environment via modulefile.
- pkgver = 4.3.1
+ pkgver = 4.4.0
pkgrel = 1
url = https://sourceforge.net/projects/modules/
install = env-modules-tcl.install
@@ -12,10 +12,8 @@ pkgbase = env-modules-tcl
conflicts = env-modules
replaces = env-modules
backup = etc/modules/init/modulerc
- source = https://sourceforge.net/projects/modules/files/Modules/modules-4.3.1/modules-4.3.1.tar.gz
- source = moduleshome.patch
- md5sums = 70b5a0f6bf8771a26435661794e78b12
- md5sums = 3a3b6ba0ac0766be9ba601223baaf107
+ source = https://sourceforge.net/projects/modules/files/Modules/modules-4.4.0/modules-4.4.0.tar.gz
+ md5sums = f9dfb6dff19bd6fe3b67a6c8413f0e0d
pkgname = env-modules-tcl
diff --git a/PKGBUILD b/PKGBUILD
index 6e0649763b9e..1fb1dc99c345 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: snafu
pkgname=(env-modules-tcl)
-pkgver=4.3.1
+pkgver=4.4.0
pkgrel=1
epoch=
pkgdesc="Provides for an easy dynamic modification of a user's environment via modulefile."
@@ -18,11 +18,10 @@ replaces=(env-modules)
options=()
install=env-modules-tcl.install
changelog=
-source=("https://sourceforge.net/projects/modules/files/Modules/modules-$pkgver/modules-$pkgver.tar.gz" moduleshome.patch)
+source=("https://sourceforge.net/projects/modules/files/Modules/modules-$pkgver/modules-$pkgver.tar.gz")
noextract=()
validpgpkeys=()
-md5sums=('70b5a0f6bf8771a26435661794e78b12'
- '3a3b6ba0ac0766be9ba601223baaf107')
+md5sums=('f9dfb6dff19bd6fe3b67a6c8413f0e0d')
# Install locations:
install_prefix=/usr
@@ -32,13 +31,6 @@ moduledir=modules
backup=("${config_path:1}/${moduledir}/init/modulerc")
-
-prepare() {
- cd "modules-$pkgver"
-
- patch -p1 < ../moduleshome.patch
-}
-
build() {
cd "modules-$pkgver"
@@ -49,6 +41,7 @@ build() {
--libexecdir=/usr/lib/env-modules \
--etcdir=/etc \
--initdir=/etc/modules/init \
+ --with-moduleshome=/etc/modules \
--datarootdir=/usr/share \
--mandir=/usr/share/man \
--docdir=/usr/share/doc \
diff --git a/moduleshome.patch b/moduleshome.patch
deleted file mode 100644
index 201e67e1a0dc..000000000000
--- a/moduleshome.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/modulecmd.tcl.in b/modulecmd.tcl.in
-index 843e178..8e77ec7 100644
---- a/modulecmd.tcl.in
-+++ b/modulecmd.tcl.in
-@@ -9174,7 +9174,7 @@ proc cmdModuleAutoinit {} {
- pushMode load
-
- # default MODULESHOME
-- setenv MODULESHOME @prefix@
-+ setenv MODULESHOME [file dirname @initdir@]
-
- # register command location
- setenv MODULES_CMD [getAbsolutePath $::argv0]