summaryrefslogtreecommitdiff
path: root/graphics/pencil3/pencil3.SlackBuild
diff options
context:
space:
mode:
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 5362e61afb..2b0839e9d1 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