aboutsummaryrefslogtreecommitdiff
path: root/development/valkyrie/valkyrie.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-03-30 13:26:40 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-03-30 22:52:11 -0500
commit87a363a564f841dd91895d69ced4dd103ab1c1c8 (patch)
treed2bdb3325567b74e7c4d22ccdff8173e635114aa /development/valkyrie/valkyrie.SlackBuild
parentd024bf5dcb49dc146edaf34131b9d393c58f1822 (diff)
development/valkyrie: Updated for version 2.0.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/valkyrie/valkyrie.SlackBuild')
-rw-r--r--development/valkyrie/valkyrie.SlackBuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/development/valkyrie/valkyrie.SlackBuild b/development/valkyrie/valkyrie.SlackBuild
index 73f843a811a63..0868e490de60e 100644
--- a/development/valkyrie/valkyrie.SlackBuild
+++ b/development/valkyrie/valkyrie.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=valkyrie
-VERSION=1.3.0
+VERSION=2.0.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,19 +63,14 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-patch -p1 < $CWD/docdir.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --htmldir=/usr/doc/$PRGNAM-$VERSION/html \
- --with-Qt-dir=/opt/kde3/lib${LIBDIRSUFFIX}/qt3 \
- --build=$ARCH-slackware-linux
-
+qmake PREFIX=/usr
make
-make install-strip DESTDIR=$PKG
+make install INSTALL_ROOT=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc