development/pyside-tools: Updated for version 0.2.12.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Grissiom 2011-08-08 18:40:23 -03:00 committed by Niels Horn
parent 19b4611059
commit 1441b64ad5
3 changed files with 14 additions and 12 deletions

View file

@ -1,4 +1,4 @@
Utility tools for PySide(pyside-uic, pyside-lupdate, pyside-rcc4) It is part of
PySide. You may need this to convert .ui and .qrc files etc.
Utility tools for PySide(pyside-uic, pyside-lupdate, pyside-rcc4) It is
part of PySide. You may need this to convert .ui and .qrc files etc.
This requires pyside.

View file

@ -5,16 +5,14 @@
# Written by Grissiom <chaos.proton@gmail.com>
PRGNAM=pyside-tools
VERSION=${VERSION:-0.2.0}
VERSION=${VERSION:-0.2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -59,10 +57,8 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
-DBUILD_TESTS:BOOL=OFF \
-DENABLE_GCC_OPTIMIZATION:BOOL=ON \
-DCMAKE_BUILD_TYPE=Release \
..
make
@ -72,6 +68,12 @@ cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
rmdir $PKG/usr/share
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 ChangeLog LICENSE-* \
$PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="pyside-tools"
VERSION="0.2.0"
VERSION="0.2.12"
HOMEPAGE="http://www.pyside.org/"
DOWNLOAD="http://www.pyside.org/files/pyside-tools-0.2.0.tar.bz2"
MD5SUM="c0271e4b1ddf3cad6d61505c380fef41"
DOWNLOAD="http://www.pyside.org/files/pyside-tools-0.2.12.tar.bz2"
MD5SUM="9a41a565774974a0e2bb60244c996166"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Grissiom"
EMAIL="chaos.proton@gmail.com"
APPROVED="pprkut"
APPROVED="pprkut,Niels Horn"