graphics/pencil3: Updated for version 3.0.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
DhabyX 2017-04-05 08:37:25 +01:00 committed by Willy Sudiarto Raharjo
parent da8c5aec78
commit 5df53a85ce
4 changed files with 18 additions and 19 deletions

View file

@ -2,21 +2,20 @@ 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 package is a release candidate, use at your own risk.
This version can be installed along with 2.0.x version without any problem.
Optional features
ELECTRON (default=no): This requires electron, available in SBo.
To use pencil3 with some version of electron previously installed in the system.
Otherwise the SlackBuild use and download electron required for pencil3.
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.
BINARY (default = no): Use it to create a binary package, this option requires
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 electron package from SBo with the INSTALL_ZIP=yes option,
to avoid The download.
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:
ELECTRON=yes ./pencil3.SlackBuild
ELECTRON=yes ./pencil3.SlackBuild

View file

@ -24,8 +24,7 @@
PRGNAM=pencil3
PKGNAM=pencil
VERSION=${VERSION:-3.0.0_rc2}
RELEASE=${RELEASE:-3.0.0-rc.2}
VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -63,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PKGNAM-$RELEASE
tar xvf $CWD/$PKGNAM-$RELEASE.tar.gz || tar xvf $CWD/v$RELEASE
cd $PKGNAM-$RELEASE
rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION
cd $PKGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -149,7 +148,8 @@ cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-${VERSION}
cp -a LICENSE.md README.md $PACKAGE_LICENSES $PKG/usr/doc/$PRGNAM-${VERSION}
cp -a LICENSE.md README.md $PACKAGE_LICENSES \
$PKG/usr/doc/$PRGNAM-${VERSION}
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-${VERSION}/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -7,5 +7,5 @@ Icon=pencil3
Type=Application
StartupNotify=true
Terminal=false
Categories=Graphics;2DGraphics;Development;
Categories=Graphics;2DGraphics;
MimeType=application/ep;

View file

@ -1,8 +1,8 @@
PRGNAM="pencil3"
VERSION="3.0.0_rc2"
VERSION="3.0.1"
HOMEPAGE="http://pencil.evolus.vn/"
DOWNLOAD="https://codeload.github.com/evolus/pencil/tar.gz/v3.0.0-rc.2"
MD5SUM="1ec3151bec9b2d01725edfbae5919303"
DOWNLOAD="https://github.com/evolus/pencil/archive/v3.0.1/pencil-3.0.1.tar.gz"
MD5SUM="9cc7a3c9e4bcd390f72d6f5f4efe27e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nodejs"