aboutsummaryrefslogtreecommitdiff
path: root/graphics/frescobaldi/frescobaldi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/frescobaldi/frescobaldi.SlackBuild')
-rw-r--r--graphics/frescobaldi/frescobaldi.SlackBuild15
1 files changed, 3 insertions, 12 deletions
diff --git a/graphics/frescobaldi/frescobaldi.SlackBuild b/graphics/frescobaldi/frescobaldi.SlackBuild
index ba603fb16d496..f37e17c935401 100644
--- a/graphics/frescobaldi/frescobaldi.SlackBuild
+++ b/graphics/frescobaldi/frescobaldi.SlackBuild
@@ -4,7 +4,7 @@
PRGNAM=frescobaldi
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-2.0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,17 +50,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
+mkdir -p $PKG/usr/bin
+python setup.py install --prefix=$PKG/usr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true