summaryrefslogtreecommitdiff
path: root/graphics/frescobaldi/frescobaldi.SlackBuild
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2012-12-12 10:00:19 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-12 10:00:40 +0100
commitb820c99afe0ca2a8b34c1f88f29d2237a8552bb6 (patch)
tree8d2ee076ff4872808eab4c5eac2330e45d3c6e31 /graphics/frescobaldi/frescobaldi.SlackBuild
parentcfc3bf5f1088d6d3303fbb8f0eb062e9726e60c5 (diff)
downloadslackbuilds-b820c99afe0ca2a8b34c1f88f29d2237a8552bb6.tar.gz
graphics/frescobaldi: Updated for version 2.0.8.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 ba603fb16d..f37e17c935 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