File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
4848 git clone https://github.com/cfillion/reapack
4949 fi
5050 cd $PRGNAM
51- VERSION=$( head -n 1 version.h.in | cut -d ' ' -f 3 | tr , .)
51+ VERSION=$( git describe --tags | sed ' s/^v//' | sed ' s/-/./g' )
52+ VERSION=${VERSION%% .g* }
5253 echo " $PRGNAM -$VERSION -$ARCH -$BUILD$TAG .$PKGTYPE "
5354 exit 0
5455fi
@@ -95,16 +96,17 @@ find -L . \
9596 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
9697 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
9798
98- VERSION=$( head -n 1 version.h.in | cut -d ' ' -f 3 | tr , .)
99+ VERSION=$( git describe --tags | sed ' s/^v//' | sed ' s/-/./g' )
100+ VERSION=${VERSION%% .g* }
99101patch -Np1 -i $CWD /reapack-1.2.4.5-system_wide.patch
102+ sed -i ' s|"UserPlugins")|"Plugins")|g' CMakeLists.txt
100103
101104mkdir -p build
102105cd build
103106 cmake \
104107 -DCMAKE_C_FLAGS:STRING=" $SLKCFLAGS " \
105108 -DCMAKE_CXX_FLAGS:STRING=" $SLKCFLAGS " \
106- -DCMAKE_INSTALL_PREFIX=/usr \
107- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
109+ -DCMAKE_INSTALL_PREFIX=/usr/lib$LIBDIRSUFFIX /REAPER \
108110 -DCMAKE_BUILD_TYPE=Release ..
109111 make
110112 make install/strip DESTDIR=$PKG
You can’t perform that action at this time.
0 commit comments