graphics/qcad: Updated for version 3.8.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2015-02-14 11:50:31 +07:00 committed by Willy Sudiarto Raharjo
parent 6b4ae8165b
commit 40662fe526
2 changed files with 8 additions and 10 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qcad
VERSION=${VERSION:-3.7.7.0}
VERSION=${VERSION:-3.8.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -76,7 +76,8 @@ make
# Need to manually install files.
mkdir -p $PKG/usr/share/$PRGNAM $PKG/usr/bin
cp -ar examples fonts libraries patterns plugins scripts ts $PKG/usr/share/$PRGNAM
rm -f ts/*.ts
cp -ar examples fonts libraries linetypes patterns plugins scripts ts $PKG/usr/share/$PRGNAM
cp release/* $PKG/usr/share/$PRGNAM
install -m 0755 $CWD/$PRGNAM.sh $PKG/usr/bin/$PRGNAM
@ -106,14 +107,11 @@ install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
for i in 16 32 48 64 96 128; do
convert scripts/${PRGNAM}_icon.png -resize ${i}x${i}! $PRGNAM-$i.png
install -D -m 0644 $PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
install -D -m 0644 $PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/$PRGNAM.png
done
install -D -m 0644 support/logo/logo_512.svg \
$PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
# A little clean up.
find $PKG \( -name "*\.pro" -o -name "readme.txt" -o -name "*\.pri" \
-o -name "Makefile" -o -name "*\.ts" -o -name "\.gitignore" \) -exec rm -f '{}' \;
find $PKG \( -name "*\.pro" -o -name "*\.pri" \) -exec rm -f '{}' \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,8 +1,8 @@
PRGNAM="qcad"
VERSION="3.7.7.0"
VERSION="3.8.1.0"
HOMEPAGE="http://www.qcad.org/en/"
DOWNLOAD="https://github.com/qcad/qcad/archive/v3.7.7.0.tar.gz"
MD5SUM="b5d57988b2fe38ceae18ba205c391203"
DOWNLOAD="https://github.com/qcad/qcad/archive/v3.8.1.0.tar.gz"
MD5SUM="0e23b0a8f61954b2c81f483ad29cd5cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""