diff options
Diffstat (limited to 'development/qjson/qjson.SlackBuild')
-rw-r--r-- | development/qjson/qjson.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/development/qjson/qjson.SlackBuild b/development/qjson/qjson.SlackBuild index ee32b03018..84b4b6411c 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 |