aboutsummaryrefslogtreecommitdiff
path: root/graphics/pencil3/pencil3.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2017-04-05 08:37:25 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-08 06:57:47 +0700
commit5df53a85ce0f5d360f8516ed5026837799885a98 (patch)
tree663ba36689410d8d73d65792f17adf7a19f09233 /graphics/pencil3/pencil3.SlackBuild
parentda8c5aec788e3546b79f6bb4f3e67fd1d4dd6fcd (diff)
graphics/pencil3: Updated for version 3.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/pencil3/pencil3.SlackBuild')
-rw-r--r--graphics/pencil3/pencil3.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/pencil3/pencil3.SlackBuild b/graphics/pencil3/pencil3.SlackBuild
index 5362e61afb748..2b0839e9d1fbf 100644
--- a/graphics/pencil3/pencil3.SlackBuild
+++ b/graphics/pencil3/pencil3.SlackBuild
@@ -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