summaryrefslogtreecommitdiffstats
path: root/development/eagle/eagle.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/eagle/eagle.SlackBuild')
-rw-r--r--development/eagle/eagle.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/development/eagle/eagle.SlackBuild b/development/eagle/eagle.SlackBuild
index 0652c0868b..c56329b476 100644
--- a/development/eagle/eagle.SlackBuild
+++ b/development/eagle/eagle.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2008,2015 Kyle Guinn <elyk03@gmail.com>, USA
# Copyright 2010,2013 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2016 Andrzej Telszewski, Banie
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=eagle
-VERSION=${VERSION:-7.6.0}
+VERSION=${VERSION:-7.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +43,7 @@ OUTPUT=${OUTPUT:-/tmp}
# Documentation is distributed for English, German and Chinese.
# Due to the size of the documentation, only include one language.
-DOC_LANG=${DOC_LANG:-en} # one of "all", "de", "en", or "zh"
+DOC_LANG=${DOC_LANG:-en} # One of "all", "de", "en", or "zh".
set -e
@@ -55,7 +56,7 @@ find $PKG/opt/$PRGNAM-$VERSION/lbr/seeed -type f -exec chmod -x {} +
find $PKG/opt/$PRGNAM-$VERSION/projects/examples/seeed -type f -exec chmod -x {} +
# Create the license key file. EAGLE will write to this the first time it is
-# run. After that, you can change the permissions to 0644 if you wish.
+# run. After that, you should change the permissions to 0644.
touch $PKG/opt/$PRGNAM-$VERSION/bin/$PRGNAM.key
chmod 0666 $PKG/opt/$PRGNAM-$VERSION/bin/$PRGNAM.key
@@ -70,7 +71,7 @@ ln -s /opt/$PRGNAM-$VERSION/bin/eagleicon50.png $PKG/usr/share/icons/hicolor/48x
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-# Move any man pages to the proper location
+# Move any man pages to the proper location.
mkdir -p $PKG/usr/man/man1
mv $PKG/opt/$PRGNAM-$VERSION/doc/*.1 $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} +
@@ -82,7 +83,6 @@ if [ ${DOC_LANG} != "all" ]; then
for lang in de en; do mv README_${lang} ${lang}/README; done
for lang in de en; do mv UPDATE_${lang} ${lang}/UPDATE; done
for lang in de en; do mv library_${lang}.txt ${lang}/library.txt; done
- for lang in de en; do mv license_${lang}.txt ${lang}/license.txt; done
for lang in de en zh; do mv manual_${lang}.pdf ${lang}/manual.pdf; done
for lang in de en zh; do mv tutorial_${lang}.pdf ${lang}/tutorial.pdf; done
for lang in de en; do mv ulp/connect-device-split-symbol-${lang}.pdf ${lang}/ulp/connect-device-split-symbol.pdf; done
@@ -102,7 +102,7 @@ if [ ${DOC_LANG} != "all" ]; then
for lang in de en zh; do rm -rf ${lang}; done
fi
-# Move the documentation to the proper location
+# Move the documentation to the proper location.
mkdir -p $PKG/usr/doc
mv $PKG/opt/$PRGNAM-$VERSION/doc $PKG/usr/doc/$PRGNAM-$VERSION
ln -s /usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM-$VERSION/doc
@@ -110,7 +110,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}