aboutsummaryrefslogtreecommitdiff
path: root/development/qjson/qjson.SlackBuild
diff options
context:
space:
mode:
authorotzy_007 <oz [at] oprod [dot] net>2012-12-29 20:47:51 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-29 22:25:36 -0500
commit108a4568dcc986d41e2b0567e179567be0f8a1c0 (patch)
tree7aed21be0c2c551945774ebe3a2ad6ef002a43b3 /development/qjson/qjson.SlackBuild
parentccfebc6dc860e2bbe78c935c8584dd355025002f (diff)
development/qjson: Updated for version 0.8.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/qjson/qjson.SlackBuild')
-rw-r--r--development/qjson/qjson.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/development/qjson/qjson.SlackBuild b/development/qjson/qjson.SlackBuild
index ee32b03018b6..84b4b6411c8e 100644
--- a/development/qjson/qjson.SlackBuild
+++ b/development/qjson/qjson.SlackBuild
@@ -2,19 +2,17 @@
# Slackware build script for QJson
-# Written by otzy_007 (oz@oprod.net)
+# Written by otzy_007 (oz [at] oprod [dot] net)
PRGNAM=qjson
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-0.8.1}
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
@@ -45,7 +43,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -72,7 +70,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL README COPYING doc \
+cp -a README.md COPYING.lib doc \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild