diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:38:06 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:38:06 +0200 |
commit | 934c9b2b7f9d9c1a23d267e48495c7d3381492a8 (patch) | |
tree | 779b400cf416da1debb9f2e38e794f44a124ce9c /network/qwit/qwit.SlackBuild | |
parent | d7dc6e0c81f6625fc42c03d227b576d09a4f8104 (diff) | |
download | slackbuilds-934c9b2b7f9d9c1a23d267e48495c7d3381492a8.tar.gz |
network/qwit: Updated for version 0.10
Diffstat (limited to 'network/qwit/qwit.SlackBuild')
-rw-r--r-- | network/qwit/qwit.SlackBuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/network/qwit/qwit.SlackBuild b/network/qwit/qwit.SlackBuild index dadc4c3c67..95b559936b 100644 --- a/network/qwit/qwit.SlackBuild +++ b/network/qwit/qwit.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=qwit -VERSION=${VERSION:-0.8} +VERSION=${VERSION:-0.10} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,8 +38,12 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -qmake-qt4 $PRGNAM.pro -make +echo "StartupNotify=false" >> $PRGNAM.desktop + +qmake -unix PREFIX=/usr -o Makefile $PRGNAM.pro +make \ + CFLAGS="-pipe $SLKCFLAGS -g -Wall -W -D_REENTRANT \$(DEFINES)" \ + CXXFLAGS="-pipe $SLKCFLAGS -g -Wall -W -D_REENTRANT \$(DEFINES)" make install INSTALL_ROOT=$PKG ( cd $PKG @@ -49,12 +53,14 @@ make install INSTALL_ROOT=$PKG xargs strip --strip-unneeded 2> /dev/null ) -mkdir -p $PKG/usr/share/{applications,pixmaps} -install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ +mkdir -p $PKG/usr/share/pixmaps install -m 0644 images/$PRGNAM.png $PKG/usr/share/pixmaps/ +rm -rf $PKG/usr/share/icons mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING INSTALL README \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -62,4 +68,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |