#!/bin/bash -u -f -e -o pipefail

STRANGEDIR=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM

mkdir -p $PREFIX/bin
mkdir -p $STRANGEDIR

cp CuReSim1.3/CuReSim.jar $STRANGEDIR
cp curesim $STRANGEDIR

(cd ${PREFIX}/bin && ln -s ${STRANGEDIR}/curesim)


#!/bin/bash -u -f -e -o pipefail

mkdir -p $PREFIX/bin

cp CuReSim1.3/CuReSim.jar $PREFIX/bin
cp curesim $PREFIX/bin


--- 
+++ 
@@ -1,12 +1,7 @@
 #!/bin/bash -u -f -e -o pipefail
 
-STRANGEDIR=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
+mkdir -p $PREFIX/bin
 
-mkdir -p $PREFIX/bin
-mkdir -p $STRANGEDIR
+cp CuReSim1.3/CuReSim.jar $PREFIX/bin
+cp curesim $PREFIX/bin
 
-cp CuReSim1.3/CuReSim.jar $STRANGEDIR
-cp curesim $STRANGEDIR
-
-(cd ${PREFIX}/bin && ln -s ${STRANGEDIR}/curesim)
-
Move files to the strange dir
