diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -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 \ |