summaryrefslogtreecommitdiff
path: root/graphics/pencil3
diff options
context:
space:
mode:
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 86c31d705f..589be89e3b 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 bafde8907e..09fb80896b 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 ce9bbff829..f533d35b07 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"