summaryrefslogtreecommitdiffstats
path: root/graphics/pencil3
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pencil3')
-rw-r--r--graphics/pencil3/README20
-rw-r--r--graphics/pencil3/pencil3.SlackBuild22
-rw-r--r--graphics/pencil3/pencil3.info6
3 files changed, 30 insertions, 18 deletions
diff --git a/graphics/pencil3/README b/graphics/pencil3/README
index 86c31d705f..481cdea8ad 100644
--- a/graphics/pencil3/README
+++ b/graphics/pencil3/README
@@ -2,19 +2,21 @@ Pencil is built for the purpose of providing a free and open-source
GUI prototyping tool that people can easily install and use to create
mockups in popular desktop platforms.
-This version can be installed along with 2.0.x version without any problem.
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
-
-Optional features
+Optional features:
ELECTRON (default=no): This requires electron, available in SBo. Use
-pencil3 with some version of electron previously installed in the system.
-Otherwise the SlackBuild uses and downloads electron required for pencil3.
+pencil3 with some version of electron previously installed in the
+system. Otherwise the SlackBuild uses and downloads electron required
+for pencil3.
-BINARY (default=no): Use it to create a binary package. This option requires
-downloading electron for the architecture of your system, close to 40MiB.
-You can install the electron package from SBo with the INSTALL_ZIP=yes option,
-to avoid the download.
+BINARY (default=no): Use it to create a binary package. This option
+requires downloading electron for the architecture of your system,
+close to 40MiB. You can install the electron package from SBo with
+the INSTALL_ZIP=yes option, to avoid the download.
If you need to use any option do something like:
diff --git a/graphics/pencil3/pencil3.SlackBuild b/graphics/pencil3/pencil3.SlackBuild
index 2b0839e9d1..09fb80896b 100644
--- a/graphics/pencil3/pencil3.SlackBuild
+++ b/graphics/pencil3/pencil3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pencil3
@@ -22,11 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220306 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to v3.1.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pencil3
PKGNAM=pencil
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,9 +78,9 @@ cd $PKGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# remove package generation
sed -i -e 's/"target": \["deb", "rpm", "tar.gz"\]/"target": []/g' package.json
@@ -157,4 +167,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/pencil3/pencil3.info b/graphics/pencil3/pencil3.info
index aae70d0075..f533d35b07 100644
--- a/graphics/pencil3/pencil3.info
+++ b/graphics/pencil3/pencil3.info
@@ -1,8 +1,8 @@
PRGNAM="pencil3"
-VERSION="3.0.1"
+VERSION="3.1.0"
HOMEPAGE="http://pencil.evolus.vn/"
-DOWNLOAD="https://github.com/evolus/pencil/archive/v3.0.1/pencil-3.0.1.tar.gz"
-MD5SUM="9cc7a3c9e4bcd390f72d6f5f4efe27e6"
+DOWNLOAD="https://github.com/evolus/pencil/archive/v3.1.0/pencil-3.1.0.tar.gz"
+MD5SUM="3e2ce85b24c1a87622e8cd0405558913"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nodejs"