diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2012-04-29 19:57:16 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-04-30 00:40:02 -0500 |
commit | f040c91149f24d3bece29b1834d048bcdb6e14ea (patch) | |
tree | 41f37b45befb8c345f821ac9a2e27ef2cc26d25f /graphics/librecad/librecad.SlackBuild | |
parent | 0e6e5316f494049ee27947014d8b05694a8c4b71 (diff) | |
download | slackbuilds-f040c91149f24d3bece29b1834d048bcdb6e14ea.tar.gz |
graphics/librecad: Updated for version 1.0.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/librecad/librecad.SlackBuild')
-rw-r--r-- | graphics/librecad/librecad.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild index 64f1424d5e..66c1432fba 100644 --- a/graphics/librecad/librecad.SlackBuild +++ b/graphics/librecad/librecad.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for LibreCAD -# Copyright 2011 Fridrich von Stauffenberg <cancellor2@gmail.com> +# Copyright 2011-2012 Fridrich von Stauffenberg <cancellor2@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,14 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=librecad -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ORIG_PRGNAM=LibreCAD -ORIG_FILENAME=$ORIG_PRGNAM-$ORIG_PRGNAM -ORIG_DIRNAME=$ORIG_FILENAME-1df9fb8 -ORIG_VERSION=v$VERSION-0-g267a1bc +ORIG_VERSION=v$VERSION-0-ga6826ad +ORIG_DIRNAME=$ORIG_PRGNAM-$ORIG_PRGNAM-a5c34b2 +ORIG_FILENAME=$ORIG_PRGNAM-$ORIG_PRGNAM-$ORIG_VERSION.tar.gz if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -51,12 +51,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $ORIG_DIRNAME -tar xvf $CWD/$ORIG_FILENAME-$ORIG_VERSION.tar.gz +tar xvf $CWD/$ORIG_FILENAME cd $ORIG_DIRNAME chown -R root:root . sed -i "s@/share/doc/$PRGNAM@/doc/$PRGNAM-$VERSION@" desktop/$PRGNAM.1 -sed -i "/support\/doc/s/#cp/cp/g" scripts/postprocess-unix.sh qmake $PRGNAM.pro make @@ -76,8 +75,8 @@ cat $CWD/$PRGNAM.sh > $PKG/usr/bin/$PRGNAM chmod 755 $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/share/{applications,pixmaps} -cp desktop/$PRGNAM.desktop $PKG/usr/share/applications -cp res/main/$PRGNAM.png $PKG/usr/share/pixmaps +cp -a desktop/$PRGNAM.desktop $PKG/usr/share/applications +cp -a res/main/$PRGNAM.png $PKG/usr/share/pixmaps find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |