diff options
Diffstat (limited to 'libraries/pygtk/pygtk.SlackBuild')
-rw-r--r-- | libraries/pygtk/pygtk.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/pygtk/pygtk.SlackBuild b/libraries/pygtk/pygtk.SlackBuild index 9a5fc7c135ad4..45b0e2182d9b7 100644 --- a/libraries/pygtk/pygtk.SlackBuild +++ b/libraries/pygtk/pygtk.SlackBuild @@ -2,18 +2,20 @@ # Slackware build script for pygtk # Written by Erik Hanson erik@slackbuilds.org -# Modified by the SlackBuilds.org project +# Updated by Andrew Brouwers, abrouwers@gmail.com PRGNAM=pygtk -VERSION=2.10.3 +VERSION=2.10.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +DOCS="MAPPING PKG-INFO ChangeLog INSTALL TODO AUTHORS COPYING NEWS README" + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then @@ -40,13 +42,11 @@ make || exit 1 make install-strip DESTDIR=$PKG || exit 1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a MAPPING PKG-INFO ChangeLog INSTALL TODO AUTHORS COPYING NEWS README \ - ChangeLog.pre-2-0 examples $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION ln -s ../../share/gtk-doc/html/pygtk html ) cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc -name "Makefile*" -exec rm {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |