diff options
Diffstat (limited to 'development/valkyrie/valkyrie.SlackBuild')
-rw-r--r-- | development/valkyrie/valkyrie.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/development/valkyrie/valkyrie.SlackBuild b/development/valkyrie/valkyrie.SlackBuild index 73f843a811..0868e490de 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 |