summaryrefslogtreecommitdiff
path: root/development/easygui/easygui.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-13 00:24:29 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:24:29 +0200
commit1dfb646ce25b091806e5384d6c2253413bf81628 (patch)
tree19df1774337c69a10b866aca8eb1a909828f2823 /development/easygui/easygui.SlackBuild
parent53e82de025baef919c584c9682b5dcdac060c866 (diff)
downloadslackbuilds-1dfb646ce25b091806e5384d6c2253413bf81628.tar.gz
development/easygui: Updated for version 0.93
Diffstat (limited to 'development/easygui/easygui.SlackBuild')
-rw-r--r--development/easygui/easygui.SlackBuild17
1 files changed, 13 insertions, 4 deletions
diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild
index 17a2ac5742..97fe66bfa3 100644
--- a/development/easygui/easygui.SlackBuild
+++ b/development/easygui/easygui.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=easygui
-VERSION=${VERSION:-0.91}
-ARCH=noarch
+VERSION=${VERSION:-0.93}
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,8 +34,17 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SRC_VERSION=v$VERSION
+
+if [ "$ARCH" = "i486" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+fi
+
# directory for python packages
-PYTHONDIR=$(python -c 'import sys, os; print os.path.join("/usr/lib", "python%s" % sys.version[:3], "site-packages")')
+PYTHONDIR="/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages"
SAMPLEFILE="python_and_check_logo.gif"
DOCFILES="*.txt *.html"
@@ -65,4 +74,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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}