summaryrefslogtreecommitdiff
path: root/libraries/pywebkitgtk/pywebkitgtk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pywebkitgtk/pywebkitgtk.SlackBuild')
-rw-r--r--libraries/pywebkitgtk/pywebkitgtk.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/pywebkitgtk/pywebkitgtk.SlackBuild b/libraries/pywebkitgtk/pywebkitgtk.SlackBuild
index 40c83178c4..63a624b268 100644
--- a/libraries/pywebkitgtk/pywebkitgtk.SlackBuild
+++ b/libraries/pywebkitgtk/pywebkitgtk.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=pywebkitgtk
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.1.5}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,7 +32,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -45,7 +45,6 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
@@ -54,12 +53,13 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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}