diff options
author | Felix Neumärker | 2020-09-08 16:42:00 +0200 |
---|---|---|
committer | Felix Neumärker | 2020-09-08 16:42:00 +0200 |
commit | be573e402f0494ad97b6353d519973d99baef2d7 (patch) | |
tree | 3c4d750a508aa36bb68af27877c59ec94e8bff2d | |
parent | f3124542d3fa5a5c77f04cf35fd9151aeb3ed607 (diff) | |
download | aur-be573e402f0494ad97b6353d519973d99baef2d7.tar.gz |
add procps as deps
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 68 |
2 files changed, 36 insertions, 35 deletions
@@ -1,7 +1,7 @@ pkgbase = env-modules-tcl pkgdesc = Provides for an easy dynamic modification of a user's environment via modulefile. pkgver = 4.5.3 - pkgrel = 1 + pkgrel = 2 url = https://sourceforge.net/projects/modules/ install = env-modules-tcl.install arch = i686 @@ -9,6 +9,7 @@ pkgbase = env-modules-tcl license = GPL2 checkdepends = dejagnu depends = tcl>=7.4 + depends = procps-ng conflicts = env-modules replaces = env-modules backup = etc/modules/init/modulerc @@ -1,14 +1,14 @@ # Maintainer: snafu pkgname=env-modules-tcl pkgver=4.5.3 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="Provides for an easy dynamic modification of a user's environment via modulefile." arch=('i686' 'x86_64') url="https://sourceforge.net/projects/modules/" license=('GPL2') groups=() -depends=('tcl>=7.4') +depends=('tcl>=7.4' 'procps-ng') makedepends=() checkdepends=('dejagnu') optdepends=() @@ -32,49 +32,49 @@ moduledir=modules backup=("${config_path:1}/${moduledir}/init/modulerc") build() { - cd "modules-$pkgver" + cd "modules-$pkgver" - ./configure \ - --prefix="" \ - --bindir=/usr/bin \ - --libdir=/usr/lib \ - --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 \ - --vimdatadir=/usr/share/vim/vimfiles \ - --modulefilesdir=/etc/modules/modulefiles \ - --disable-set-binpath \ - --disable-set-manpath \ - --disable-set-manpath \ - --disable-compat-version \ - --disable-example-modulefiles \ - --disable-doc-install \ + ./configure \ + --prefix="" \ + --bindir=/usr/bin \ + --libdir=/usr/lib \ + --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 \ + --vimdatadir=/usr/share/vim/vimfiles \ + --modulefilesdir=/etc/modules/modulefiles \ + --disable-set-binpath \ + --disable-set-manpath \ + --disable-set-manpath \ + --disable-compat-version \ + --disable-example-modulefiles \ + --disable-doc-install \ --without-pager - make + make } check() { - cd "modules-$pkgver" + cd "modules-$pkgver" # uncomment if you run into problems... takes quite a while - #make -j1 -k test + #make -j1 -k test } package() { - cd "modules-$pkgver" - make -j1 DESTDIR="$pkgdir/" install + cd "modules-$pkgver" + make -j1 DESTDIR="$pkgdir/" install - _profiled="${pkgdir}${profiled}" - mkdir -p "$_profiled" - ln -s ../${moduledir}/init/profile.csh $_profiled/env-modules.csh - ln -s ../${moduledir}/init/profile.sh $_profiled/env-modules.sh + _profiled="${pkgdir}${profiled}" + mkdir -p "$_profiled" + ln -s ../${moduledir}/init/profile.csh $_profiled/env-modules.csh + ln -s ../${moduledir}/init/profile.sh $_profiled/env-modules.sh - # Keep up with old versions: - ln -s ./perl.pm ${pkgdir}${config_path}/${moduledir}/init/perl - ln -s ./python.py ${pkgdir}${config_path}/${moduledir}/init/python + # Keep up with old versions: + ln -s ./perl.pm ${pkgdir}${config_path}/${moduledir}/init/perl + ln -s ./python.py ${pkgdir}${config_path}/${moduledir}/init/python } |