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 GUI prototyping tool that people can easily install and use to create
mockups in popular desktop platforms. 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. This version can be installed along with 2.0.x version without any problem.
Optional features Optional features
ELECTRON (default=no): This requires electron, available in SBo. ELECTRON (default=no): This requires electron, available in SBo. Use
To use pencil3 with some version of electron previously installed in the system. pencil3 with some version of electron previously installed in the system.
Otherwise the SlackBuild use and download electron required for pencil3. 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. downloading electron for the architecture of your system, close to 40MiB.
You can install electron package from SBo with the INSTALL_ZIP=yes option, You can install the electron package from SBo with the INSTALL_ZIP=yes option,
to avoid The download. to avoid the download.
If you need to use any option do something like: 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 PRGNAM=pencil3
PKGNAM=pencil PKGNAM=pencil
VERSION=${VERSION:-3.0.0_rc2} VERSION=${VERSION:-3.0.1}
RELEASE=${RELEASE:-3.0.0-rc.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -63,9 +62,9 @@ set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PKGNAM-$RELEASE rm -rf $PKGNAM-$VERSION
tar xvf $CWD/$PKGNAM-$RELEASE.tar.gz || tar xvf $CWD/v$RELEASE tar xvf $CWD/$PKGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION
cd $PKGNAM-$RELEASE cd $PKGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -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 # Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-${VERSION} 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-${VERSION}/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View File

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

View File

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