diff options
author | Joshua Hardy | 2017-04-12 20:22:52 +1000 |
---|---|---|
committer | Joshua Hardy | 2017-04-12 20:22:52 +1000 |
commit | 13e0701f03795c55afeb26fa451d2267c362a27e (patch) | |
tree | 1ca9bbce036ea0f84732733b43e8466d76337dd7 | |
parent | e623103acc278891e16582a60b3b3fcb34372c3d (diff) | |
download | aur-13e0701f03795c55afeb26fa451d2267c362a27e.tar.gz |
fixed profiles
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | simple2.csh | 2 | ||||
-rw-r--r-- | simple2.sh | 2 |
4 files changed, 11 insertions, 3 deletions
@@ -11,7 +11,11 @@ pkgbase = simple2 depends = fftw depends = java-environment source = http://simplecryoem.com/binaries/simple2.1.tar.gz + source = simple2.sh + source = simple2.csh md5sums = f01eee32ec5071bdd7e5a3c505418335 + md5sums = SKIP + md5sums = SKIP pkgname = simple2 @@ -9,8 +9,8 @@ license=('GPL') depends=('lapack' 'python2' 'fftw' 'java-environment') makedepends=('gcc49') optdepends=() -source=("http://simplecryoem.com/binaries/simple2.1.tar.gz") -md5sums=('f01eee32ec5071bdd7e5a3c505418335') +source=("http://simplecryoem.com/binaries/simple2.1.tar.gz" "simple2.sh" "simple2.csh") +md5sums=('f01eee32ec5071bdd7e5a3c505418335' 'SKIP' 'SKIP') build() { cd "${srcdir}"/simple${pkgver} cp scripts/Template_FEDORA_21x64_CPU_simple_user_input.pm simple_user_input.pm @@ -26,5 +26,5 @@ build() { package() { install -d "${pkgdir}"/opt "${pkgdir}"/etc/profile.d cp -r "${srcdir}"/simple${pkgver} "${pkgdir}"/opt/simple2 - install -D -m755 "${srcdir}"/simple${pkgver}/add2.bashrc "${pkgdir}"/etc/profile.d/simple2.sh + install -D -m755 "${srcdir}"/simple2*sh "${pkgdir}"/etc/profile.d/. } diff --git a/simple2.csh b/simple2.csh new file mode 100644 index 000000000000..2cb2258f1c77 --- /dev/null +++ b/simple2.csh @@ -0,0 +1,2 @@ +setenv SIMPLEPATH /opt/simple2 +set path=($path ${SIMPLEPATH}/scripts ${SIMPLEPATH}/bin) diff --git a/simple2.sh b/simple2.sh new file mode 100644 index 000000000000..fecf2e6af05d --- /dev/null +++ b/simple2.sh @@ -0,0 +1,2 @@ +export SIMPLEPATH=/opt/simple2 +export PATH=$PATH:${SIMPLEPATH}/scripts:${SIMPLEPATH}/bin |