diff options
Diffstat (limited to 'network/quvi/quvi.SlackBuild')
-rw-r--r-- | network/quvi/quvi.SlackBuild | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/network/quvi/quvi.SlackBuild b/network/quvi/quvi.SlackBuild index 00917310e5..4608fe8092 100644 --- a/network/quvi/quvi.SlackBuild +++ b/network/quvi/quvi.SlackBuild @@ -2,11 +2,12 @@ # Slackware build script for quvi -# Written by crocket (crockabiscuit@gmail.com) +# Made by trebol 2012/12/13 +# Modified by crocket <crockabiscuit@gmail.com PRGNAM=quvi -VERSION=${VERSION:-0.2.19} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.4.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -36,6 +37,8 @@ else LIBDIRSUFFIX="" fi +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" + set -e rm -rf $PKG @@ -59,25 +62,20 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --infodir=/usr/info \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-quvi \ - --enable-nsfw \ - --disable-static \ - --enable-todo \ - --with-soup \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +make install DESTDIR=$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 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -85,4 +83,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - |