aboutsummaryrefslogtreecommitdiff
path: root/graphics/pencil3
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-06 14:36:07 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-07 08:45:24 +0700
commite02a82a8333349036ed55d44d0108853c5012351 (patch)
treee911bed3b068acb51882ca808821855cdbc2430b /graphics/pencil3
parenta81af46590d3eb62993dab4e6eeadb7ab8beb118 (diff)
graphics/pencil3: Updated for version 3.1.0.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/pencil3')
-rw-r--r--graphics/pencil3/README7
-rw-r--r--graphics/pencil3/pencil3.SlackBuild12
-rw-r--r--graphics/pencil3/pencil3.info6
3 files changed, 13 insertions, 12 deletions
diff --git a/graphics/pencil3/README b/graphics/pencil3/README
index 86c31d705f2b..589be89e3b22 100644
--- a/graphics/pencil3/README
+++ b/graphics/pencil3/README
@@ -2,10 +2,11 @@ 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.
diff --git a/graphics/pencil3/pencil3.SlackBuild b/graphics/pencil3/pencil3.SlackBuild
index bafde8907e0f..09fb80896ba3 100644
--- a/graphics/pencil3/pencil3.SlackBuild
+++ b/graphics/pencil3/pencil3.SlackBuild
@@ -22,11 +22,14 @@
# 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.4}
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -78,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
diff --git a/graphics/pencil3/pencil3.info b/graphics/pencil3/pencil3.info
index ce9bbff82960..f533d35b079c 100644
--- a/graphics/pencil3/pencil3.info
+++ b/graphics/pencil3/pencil3.info
@@ -1,8 +1,8 @@
PRGNAM="pencil3"
-VERSION="3.0.4"
+VERSION="3.1.0"
HOMEPAGE="http://pencil.evolus.vn/"
-DOWNLOAD="https://github.com/evolus/pencil/archive/v3.0.4/pencil-3.0.4.tar.gz"
-MD5SUM="0300a9558547eaa3c6e8cfe749e4d7cc"
+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"